class Pohoda::Parsers::Bal::BalanceType
Public Instance Methods
balance_header()
click to toggle source
# File lib/pohoda/parsers/bal/balance_type.rb, line 7 def balance_header submodel_at(Bal::BalanceHeaderType, 'bal:balanceHeader') end
balance_item()
click to toggle source
# File lib/pohoda/parsers/bal/balance_type.rb, line 11 def balance_item array_of_at(Bal::BalanceItemType, ['bal:balanceItem']) end
to_h()
click to toggle source
# File lib/pohoda/parsers/bal/balance_type.rb, line 15 def to_h hash = {} hash[:attributes] = attributes hash[:balance_header] = balance_header.to_h if has? 'bal:balanceHeader' hash[:balance_item] = balance_item.map(&:to_h) if has? 'bal:balanceItem' hash end