Class: Shipeasy::SDK::See::ControlFlowTail

Inherits:
Object
  • Object
show all
Defined in:
lib/shipeasy/sdk/see.rb

Instance Method Summary collapse

Constructor Details

#initialize(err, reason) ⇒ ControlFlowTail

Returns a new instance of ControlFlowTail.



330
331
332
333
# File 'lib/shipeasy/sdk/see.rb', line 330

def initialize(err, reason)
  @err = err
  @reason = reason
end

Instance Method Details

#extras(extras) ⇒ Object



335
336
337
338
# File 'lib/shipeasy/sdk/see.rb', line 335

def extras(extras)
  See.mark_expected(@err, @reason, extras)
  self
end