Class: Cadooz::Mutable::InvoiceInformation
- Inherits:
-
Object
- Object
- Cadooz::Mutable::InvoiceInformation
- Includes:
- Mixins
- Defined in:
- lib/cadooz/models/mutable/invoice_information.rb
Instance Attribute Summary collapse
-
#debitor_number ⇒ Object
Returns the value of attribute debitor_number.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ InvoiceInformation
constructor
A new instance of InvoiceInformation.
Methods included from Mixins
#cadooz_class, #default_value_for_nil, #instance_variables_empty?, #serialize
Constructor Details
#initialize(args = {}) ⇒ InvoiceInformation
Returns a new instance of InvoiceInformation.
6 7 8 9 10 11 |
# File 'lib/cadooz/models/mutable/invoice_information.rb', line 6 def initialize(args={}) @debitor_number = args[:debitor_number] @value = args[:value] default_value_for_nil end |
Instance Attribute Details
#debitor_number ⇒ Object
Returns the value of attribute debitor_number.
4 5 6 |
# File 'lib/cadooz/models/mutable/invoice_information.rb', line 4 def debitor_number @debitor_number end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/cadooz/models/mutable/invoice_information.rb', line 4 def value @value end |