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