Class: Sink::Models::AllofBaseParent

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/sink/models/allof_base_parent.rb

Direct Known Subclasses

AllofMultipleInlineEntries

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#[], #deconstruct_keys, #inspect, #to_h, #to_s

Constructor Details

#initialize(data = {}) ⇒ AllofBaseParent

Create a new instance of AllofBaseParent from a Hash of raw data.

Parameters:

  • data (Hash{Symbol => Object}) (defaults to: {})

    . @option data [Hash, nil] :from_parent



5
# File 'lib/sink/models/allof_base_parent.rb', line 5

def initialize(data = {}) = super

Instance Attribute Details

#from_parentBoolean

Returns:

  • (Boolean)


8
# File 'lib/sink/models/allof_base_parent.rb', line 8

optional :from_parent, Sink::BooleanModel