Created
June 30, 2015 11:55
-
-
Save AkashMartin1/819a7f8599f19d8f6b41 to your computer and use it in GitHub Desktop.
Revisions
-
AkashkumarDev renamed this gist
Jun 30, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
AkashkumarDev created this gist
Jun 30, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ @google_api_client = Google::APIClient.new( application_name: 'Example', application_version: '1.0.0Alpha' ) @google_api_client.authorization.access_token = user.google_token @gmail = @google_api_client.discovered_api('gmail', 'v1')