From ddc49fdd2b2e32fd009f1981433a904a2ceba67f Mon Sep 17 00:00:00 2001 From: Bob Aman Date: Thu, 7 Oct 2010 22:12:38 +0000 Subject: [PATCH] Fixed example in README. git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@46 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index c069b8d56..4fd5c4ff6 100644 --- a/README +++ b/README @@ -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} )