Class: MyBanner::SpreadsheetClient
- Inherits:
-
Google::Apis::SheetsV4::SheetsService
- Object
- Google::Apis::SheetsV4::SheetsService
- MyBanner::SpreadsheetClient
- Defined in:
- lib/my_banner/spreadsheet_client.rb
Instance Method Summary collapse
-
#initialize(authorization = nil) ⇒ SpreadsheetClient
constructor
A new instance of SpreadsheetClient.
Constructor Details
#initialize(authorization = nil) ⇒ SpreadsheetClient
Returns a new instance of SpreadsheetClient.
7 8 9 10 11 12 13 |
# File 'lib/my_banner/spreadsheet_client.rb', line 7 def initialize(=nil) super() self..application_name = "MyBanner Spreadsheet Client" self..application_version = VERSION ||= SpreadsheetAuthorization.new self. = .stored_credentials || .user_provided_credentials end |