Class: Finrb::Interest

Inherits:
Transaction show all
Defined in:
lib/finrb/transaction.rb

Overview

Represent an interest charge as a Transaction

See Also:

Instance Attribute Summary

Attributes inherited from Transaction

#amount, #date, #period

Instance Method Summary collapse

Methods inherited from Transaction

#difference, #initialize, #interest?, #modify, #payment, #payment?

Constructor Details

This class inherits a constructor from Finrb::Transaction

Instance Method Details

#inspectObject



112
113
114
# File 'lib/finrb/transaction.rb', line 112

def inspect
  "Interest(#{@amount})"
end