Class: Seatsio::Domain::AccountSettings
- Inherits:
-
Object
- Object
- Seatsio::Domain::AccountSettings
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#chart_validation ⇒ Object
readonly
Returns the value of attribute chart_validation.
-
#draft_chart_drawings_enabled ⇒ Object
readonly
Returns the value of attribute draft_chart_drawings_enabled.
-
#hold_on_select_for_gas ⇒ Object
readonly
Returns the value of attribute hold_on_select_for_gas.
Instance Method Summary collapse
-
#initialize(data) ⇒ AccountSettings
constructor
A new instance of AccountSettings.
Constructor Details
#initialize(data) ⇒ AccountSettings
126 127 128 129 130 |
# File 'lib/seatsio/domain.rb', line 126 def initialize(data) @draft_chart_drawings_enabled = data['draftChartDrawingsEnabled'] @hold_on_select_for_gas = data['holdOnSelectForGAs'] @chart_validation = ChartValidationSettings.new(data['chartValidation']) end |
Instance Attribute Details
#chart_validation ⇒ Object (readonly)
Returns the value of attribute chart_validation.
124 125 126 |
# File 'lib/seatsio/domain.rb', line 124 def chart_validation @chart_validation end |
#draft_chart_drawings_enabled ⇒ Object (readonly)
Returns the value of attribute draft_chart_drawings_enabled.
124 125 126 |
# File 'lib/seatsio/domain.rb', line 124 def draft_chart_drawings_enabled @draft_chart_drawings_enabled end |
#hold_on_select_for_gas ⇒ Object (readonly)
Returns the value of attribute hold_on_select_for_gas.
124 125 126 |
# File 'lib/seatsio/domain.rb', line 124 def hold_on_select_for_gas @hold_on_select_for_gas end |