Class: Invoicer::Invoice
- Inherits:
-
Object
- Object
- Invoicer::Invoice
- Defined in:
- lib/invoice.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Invoice
constructor
A new instance of Invoice.
Constructor Details
#initialize(attributes = {}) ⇒ Invoice
Returns a new instance of Invoice.
5 6 7 |
# File 'lib/invoice.rb', line 5 def initialize(attributes = {}) @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/invoice.rb', line 3 def attributes @attributes end |