Class: Sink::Models::NestedRequestModelB
- Defined in:
- lib/sink/models/nested_request_model_b.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ NestedRequestModelB
constructor
Create a new instance of NestedRequestModelB from a Hash of raw data.
Methods inherited from BaseModel
#[], #deconstruct_keys, #inspect, #to_h, #to_s
Constructor Details
permalink #initialize(data = {}) ⇒ NestedRequestModelB
Create a new instance of NestedRequestModelB from a Hash of raw data.
5 |
# File 'lib/sink/models/nested_request_model_b.rb', line 5 def initialize(data = {}) = super |
Instance Attribute Details
permalink #bar ⇒ Sink::Models::NestedRequestModelC
8 |
# File 'lib/sink/models/nested_request_model_b.rb', line 8 optional :bar, -> { Sink::Models::NestedRequestModelC } |