Class: Sink::Models::Export

Inherits:
BaseModel show all
Defined in:
lib/sink/models/export.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

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

Constructor Details

#initialize(data = {}) ⇒ Export

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

Parameters:

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

    . @option data [Array] :export test reserved word in response property

    
    
    5
    # File 'lib/sink/models/export.rb', line 5
    
    def initialize(data = {}) = super

    Instance Attribute Details

    #export ⇒ Array<Sink::Models::Return>

    test reserved word in response property

    Returns:

    
    
    9
    # File 'lib/sink/models/export.rb', line 9
    
    required :export, Sink::ArrayOf.new(-> { Sink::Models::Return })