Class: Seatsio::Domain::BestAvailableObjects

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelsObject (readonly)

Returns the value of attribute labels.



183
184
185
# File 'lib/seatsio/domain.rb', line 183

def labels
  @labels
end

#next_to_each_otherObject (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

#objectsObject (readonly)

Returns the value of attribute objects.



183
184
185
# File 'lib/seatsio/domain.rb', line 183

def objects
  @objects
end