Class: Sink::Models::ResponseNestedArrayResponse
- Defined in:
- lib/sink/models/response_nested_array_response.rb
Defined Under Namespace
Classes: Object
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ResponseNestedArrayResponse
constructor
Create a new instance of ResponseNestedArrayResponse from a Hash of raw data.
Methods inherited from BaseModel
#[], #deconstruct_keys, #inspect, #to_h, #to_s
Constructor Details
#initialize(data = {}) ⇒ ResponseNestedArrayResponse
Create a new instance of ResponseNestedArrayResponse from a Hash of raw data.
5 |
# File 'lib/sink/models/response_nested_array_response.rb', line 5 def initialize(data = {}) = super |
Instance Attribute Details
#objects ⇒ Array<Sink::Models::ResponseNestedArrayResponse::Object>
8 |
# File 'lib/sink/models/response_nested_array_response.rb', line 8 required :objects, Sink::ArrayOf.new(-> { Sink::Models::ResponseNestedArrayResponse::Object }) |