Class: FarmingEngineers::Invoices::Common::History

Inherits:
Array
  • Object
show all
Defined in:
lib/farming_engineers/invoices/common.rb

Direct Known Subclasses

Eggs::History

Instance Method Summary collapse

Instance Method Details

#deposit(date, amount) ⇒ Object



16
17
18
# File 'lib/farming_engineers/invoices/common.rb', line 16

def deposit date, amount
  push Deposit.new(date, amount)
end

#purchase(date, description, amount) ⇒ Object



20
21
22
# File 'lib/farming_engineers/invoices/common.rb', line 20

def purchase date, description, amount
  push Purchase.new(date, description, amount)
end