class Pohoda::Parsers::Bnk::BankDetailType

Public Instance Methods

bank_item() click to toggle source
# File lib/pohoda/parsers/bnk/bank_detail_type.rb, line 7
def bank_item
  array_of_at(Bnk::BankItemType, ['bnk:bankItem'])
end
to_h() click to toggle source
# File lib/pohoda/parsers/bnk/bank_detail_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:bank_item] = bank_item.map(&:to_h) if has? 'bnk:bankItem'

  hash
end