Fixed example in README.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@46 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman 2010-10-07 22:12:38 +00:00
parent c67444734d
commit ddc49fdd2b
1 changed files with 2 additions and 2 deletions

4
README
View File

@ -32,7 +32,7 @@ APIs.
'scope' => 'https://www.googleapis.com/auth/buzz'
}
)
client.authorization.authorization_uri(
redirect_uri = client.authorization.authorization_uri(
:additional_parameters => {
'domain' => client.authorization.client_credential_key,
'scope' => 'https://www.googleapis.com/auth/buzz'
@ -41,7 +41,7 @@ APIs.
# Redirect user here
client.authorization.fetch_token_credential!(:verifier => '12345')
response = client.execute(
'buzz.activities.list',
'chili.activities.list',
{'scope' => '@self', 'userId' => '@me', 'alt' => 'json'},
'', [], {:signed => true}
)