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.



256
257
258
259
# File 'lib/shipeasy/sdk/see.rb', line 256

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

Instance Method Details

#extras(extras) ⇒ Object



261
262
263
264
# File 'lib/shipeasy/sdk/see.rb', line 261

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