Merge pull request #12 from google/vsubramani-patch-1

Update README.md
This commit is contained in:
Tim Emiola 2015-02-25 18:14:49 -08:00
commit a2b59eb836
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ $ gem install googleauth
require 'googleauth' require 'googleauth'
# Get the environment configured authorization # Get the environment configured authorization
scope = 'https://www.googleapis.com/auth/userinfo.profile' scopes = ['https://www.googleapis.com/auth/cloud-platform', 'https://www.googleapis.com/auth/compute']
authorization = Google::Auth.get_application_default(scope) authorization = Google::Auth.get_application_default(scopes)
# Add the the access token obtained using the authorization to a hash, e.g # Add the the access token obtained using the authorization to a hash, e.g
# headers. # headers.