Created
June 30, 2015 11:55
-
-
Save AkashMartin1/819a7f8599f19d8f6b41 to your computer and use it in GitHub Desktop.
what is @gmail
This file contains 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 characters
@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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment