Class: Seatsio::Domain::BestAvailableObjects
- Inherits:
-
Object
- Object
- Seatsio::Domain::BestAvailableObjects
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#labels ⇒ Object
readonly
Returns the value of attribute labels.
-
#next_to_each_other ⇒ Object
readonly
Returns the value of attribute next_to_each_other.
-
#objects ⇒ Object
readonly
Returns the value of attribute objects.
Instance Method Summary collapse
-
#initialize(data) ⇒ BestAvailableObjects
constructor
A new instance of BestAvailableObjects.
Constructor Details
#initialize(data) ⇒ BestAvailableObjects
Returns a new instance of BestAvailableObjects.
185 186 187 188 189 |
# File 'lib/seatsio/domain.rb', line 185 def initialize(data) @next_to_each_other = data['nextToEachOther'] @objects = data['objects'] @labels = data['labels'] end |
Instance Attribute Details
#labels ⇒ Object (readonly)
Returns the value of attribute labels.
183 184 185 |
# File 'lib/seatsio/domain.rb', line 183 def labels @labels end |
#next_to_each_other ⇒ Object (readonly)
Returns the value of attribute next_to_each_other.
183 184 185 |
# File 'lib/seatsio/domain.rb', line 183 def next_to_each_other @next_to_each_other end |
#objects ⇒ Object (readonly)
Returns the value of attribute objects.
183 184 185 |
# File 'lib/seatsio/domain.rb', line 183 def objects @objects end |