class Pohoda::Parsers::Lst::ListBankType

Public Instance Methods

bank() click to toggle source
# File lib/pohoda/parsers/lst/list_bank_type.rb, line 7
def bank
  array_of_at(Bnk::BankType, ['lst:bank'])
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/lst/list_bank_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:bank] = bank.map(&:to_h) if has? 'lst:bank'

  hash
  super.merge(hash)
end