class SaltParser::Ofx::Account
Attributes
available_balance[RW]
balance[RW]
bank_id[RW]
broker_id[RW]
currency[RW]
id[RW]
name[RW]
transactions[RW]
type[RW]
unit_price[RW]
units[RW]
Public Instance Methods
identifier()
click to toggle source
# File lib/ofx/account.rb, line 7 def identifier id end
to_hash()
click to toggle source
# File lib/ofx/account.rb, line 11 def to_hash { :balance => balance ? balance.to_hash : nil, :bank_id => bank_id, :broker_id => broker_id, :currency => currency, :id => id, :name => name, :transactions => transactions.map(&:to_hash), :type => type, :units => units, :unit_price => unit_price, :available_balance => available_balance ? available_balance.to_hash : nil } end