Class: CSVPlusPlus::GoogleOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/csv_plus_plus/google_options.rb

Overview

The Google-specific options a user can supply

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#sheet_idObject

Returns the value of attribute sheet_id

Returns:

  • (Object)

    the current value of 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_sObject

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_summaryObject

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