Class: CSVPlusPlus::GoogleOptions
- Inherits:
-
Struct
- Object
- Struct
- CSVPlusPlus::GoogleOptions
- Defined in:
- lib/csv_plus_plus/google_options.rb
Overview
The Google-specific options a user can supply
Instance Attribute Summary collapse
-
#sheet_id ⇒ Object
Returns the value of attribute sheet_id.
Instance Method Summary collapse
-
#to_s ⇒ Object
to_s.
-
#verbose_summary ⇒ Object
Return a string with a verbose description of what we’re doing with the options.
Instance Attribute Details
#sheet_id ⇒ Object
Returns the value of attribute sheet_id
5 6 7 |
# File 'lib/csv_plus_plus/google_options.rb', line 5 def sheet_id @sheet_id end |
Instance Method Details
#to_s ⇒ Object
to_s
17 18 19 |
# File 'lib/csv_plus_plus/google_options.rb', line 17 def to_s "GoogleOptions(sheet_id: #{sheet_id})" end |
#verbose_summary ⇒ Object
Return a string with a verbose description of what we’re doing with the options
8 9 10 11 12 13 14 |
# File 'lib/csv_plus_plus/google_options.rb', line 8 def verbose_summary <<~SUMMARY ## Google Sheets Options > Sheet ID | #{sheet_id} SUMMARY end |