git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@108
c1d61fac-ed7f-fcc1-18f7-
ff78120a04ef
scope = options[:scope]
# Special cases
case scope
scope = options[:scope]
# Special cases
case scope
- when "https://www.googleapis.com/auth/buzz",
- "https://www.googleapis.com/auth/buzz.readonly"
+ when /https:\/\/www\.googleapis\.com\/auth\/buzz/,
+ /https:\/\/www\.googleapis\.com\/auth\/buzz\.readonly/
oauth_client.authorization_uri =
'https://www.google.com/buzz/api/auth/OAuthAuthorizeToken?' +
"domain=#{oauth_client.client_credential_key}&" +
oauth_client.authorization_uri =
'https://www.google.com/buzz/api/auth/OAuthAuthorizeToken?' +
"domain=#{oauth_client.client_credential_key}&" +