Module: SpreadsheetGoodies::GoogleDrive
- Defined in:
- lib/spreadsheet_goodies/google_drive/worksheet.rb,
lib/spreadsheet_goodies/google_drive.rb,
lib/spreadsheet_goodies/google_drive/connector.rb
Overview
A cached copy of a Google Spreadsheets worksheet (i.e., a single workbook “tab”), Individual cells of a row can be accessed by column title. Example:
worksheet[0]['A column title']
Defined Under Namespace
Class Method Summary collapse
-
.read_worksheet(spreadsheet_key:, worksheet_title: nil, num_header_rows: 1) ⇒ Object
Accesses GoogleDrive and returns a SpreadsheetGoodies::GoogleDrive::Worksheet.
Class Method Details
.read_worksheet(spreadsheet_key:, worksheet_title: nil, num_header_rows: 1) ⇒ Object
Accesses GoogleDrive and returns a SpreadsheetGoodies::GoogleDrive::Worksheet
5 6 7 |
# File 'lib/spreadsheet_goodies/google_drive.rb', line 5 def self.read_worksheet(spreadsheet_key:, worksheet_title:nil, num_header_rows:1) Worksheet.new(spreadsheet_key, worksheet_title, num_header_rows) end |