Class: Plaid::Models::Transaction
- Inherits:
-
Object
- Object
- Plaid::Models::Transaction
- Defined in:
- lib/ynap/extensions/plaid/models/transaction.rb
Instance Method Summary collapse
-
#description ⇒ Object
Includes a negative amount for easier comparison with YNAB transactions.
Instance Method Details
#description ⇒ Object
Includes a negative amount for easier comparison with YNAB transactions
5 6 7 |
# File 'lib/ynap/extensions/plaid/models/transaction.rb', line 5 def description [date, "#{(-amount).to_s.rjust(12)} #{iso_currency_code}", name].join(" - ") end |