class SaltParser::Qif::Account

Attributes

name[RW]
transactions[RW]
type[RW]

Public Instance Methods

identifier() click to toggle source
# File lib/qif/account.rb, line 6
def identifier
  name
end
to_hash() click to toggle source
# File lib/qif/account.rb, line 10
def to_hash
  {
    :name         => name,
    :type         => type,
    :transactions => transactions.map(&:to_hash)
  }
end