Class: YNAB::TransactionDetail

Inherits:
Object
  • Object
show all
Defined in:
lib/ynap/extensions/ynab/transaction_detail.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject

Includes a decimal amount for easier comparison with Plaid transactions



5
6
7
# File 'lib/ynap/extensions/ynab/transaction_detail.rb', line 5

def description
  [date, amount.to_plaid.to_s.rjust(12), payee_name, memo].join(" - ")
end