Update README.md

This commit is contained in:
Vijay Subramani 2015-02-25 10:51:48 -08:00
parent 36ceadc26f
commit dc901656cc
1 changed files with 2 additions and 2 deletions

View File

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