Class: Seatsio::ChangeObjectStatusInBatchResult
- Inherits:
-
Object
- Object
- Seatsio::ChangeObjectStatusInBatchResult
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(data) ⇒ ChangeObjectStatusInBatchResult
constructor
A new instance of ChangeObjectStatusInBatchResult.
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
#results ⇒ Object (readonly)
Returns the value of attribute results.
317 318 319 |
# File 'lib/seatsio/domain.rb', line 317 def results @results end |