Created
June 18, 2018 11:59
-
-
Save amitpatelx/1a4e317d26813d8f6bd118fcc197125c to your computer and use it in GitHub Desktop.
Accessing google drive API
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 characters
| require 'google/apis/drive_v3' | |
| # Create object of the drice service | |
| service = Google::Apis::DriveV3 | |
| # Authorize it with the help of credentials generated | |
| service.authorization = credentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment