Class: Seatsio::ChangeObjectStatusInBatchResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ ChangeObjectStatusInBatchResult

Returns a new instance of ChangeObjectStatusInBatchResult.



319
320
321
# File 'lib/seatsio/domain.rb', line 319

def initialize(data)
  @results = data['results'].map { |r| ChangeObjectStatusResult.new(r) }
end

Instance Attribute Details

#resultsObject (readonly)

Returns the value of attribute results.



317
318
319
# File 'lib/seatsio/domain.rb', line 317

def results
  @results
end