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.



328
329
330
331
# File 'lib/shipeasy/sdk/see.rb', line 328

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

Instance Method Details

#extras(extras) ⇒ Object



333
334
335
336
# File 'lib/shipeasy/sdk/see.rb', line 333

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