updated example so that it works and is more relevant to the new api

This commit is contained in:
Jason Barnett 2015-07-20 16:53:06 -07:00
parent 64852feb47
commit 69c1eabb01
1 changed files with 4 additions and 2 deletions

View File

@ -23,13 +23,15 @@ module Google
#
# @example
#
# client = Google::APIClient.new
# flow = Google::APIClient::InstalledAppFlow.new(
# :client_id => '691380668085.apps.googleusercontent.com',
# :client_secret => '...',
# :scope => 'https://www.googleapis.com/auth/drive'
# )
# client.authorization = flow.authorize
# authorization = flow.authorize
# Drive = Google::Apis::DriveV2
# drive = Drive::DriveService.new
# drive.authorization = authorization
#
class InstalledAppFlow