Class: Credit

Inherits:
Object
  • Object
show all
Defined in:
lib/bill-nye/credit.rb

Instance Method Summary collapse

Constructor Details

#initialize(_pDate, _type, _source, _amount) ⇒ Credit

Returns a new instance of Credit.



4
5
6
7
8
9
10
# File 'lib/bill-nye/credit.rb', line 4

def initialize(_pDate, _type, _source, _amount)
  @pDate    = _pDate
  @type     = _type
  @uDate    = _pDate
  @source  = _source
  @amount  = _amount
end