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.



305
306
307
308
# File 'lib/shipeasy/sdk/see.rb', line 305

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

Instance Method Details

#extras(extras) ⇒ Object



310
311
312
313
# File 'lib/shipeasy/sdk/see.rb', line 310

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