Class: Invoicer::Invoice

Inherits:
Object
  • Object
show all
Defined in:
lib/invoice.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject

Returns the value of attribute attributes.



3
4
5
# File 'lib/invoice.rb', line 3

def attributes
  @attributes
end