Exception: Twinfield::Create::EmptyInvoice

Inherits:
Error
  • Object
show all
Defined in:
lib/twinfield/create/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, object:) ⇒ EmptyInvoice

Returns a new instance of EmptyInvoice.



24
25
26
27
# File 'lib/twinfield/create/error.rb', line 24

def initialize message, object:
  super
  self.object = object
end

Instance Attribute Details

#objectObject

Returns the value of attribute object.



22
23
24
# File 'lib/twinfield/create/error.rb', line 22

def object
  @object
end