Class: Credit
- Inherits:
-
Transaction
- Object
- OpenStruct
- Transaction
- Credit
- Defined in:
- lib/ebutil.rb
Instance Method Summary collapse
Methods inherited from Transaction
#add_to, credit, debit, #export_to_eb, #initialize, #method_missing
Constructor Details
This class inherits a constructor from Transaction
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Transaction
Instance Method Details
#amount ⇒ Object
159 160 161 |
# File 'lib/ebutil.rb', line 159 def amount Decimal.from_string(@attributes.amount).inverse end |
#kind ⇒ Object
156 157 158 |
# File 'lib/ebutil.rb', line 156 def kind 'crd' end |