class Pohoda::Parsers::Acu::ListAccountingUnitType

Public Instance Methods

item_accounting_unit() click to toggle source
# File lib/pohoda/parsers/acu/list_accounting_unit_type.rb, line 7
def item_accounting_unit
  submodel_at(Acu::ItemAccountingUnitType, 'acu:itemAccountingUnit')
end
to_h() click to toggle source
Calls superclass method
# File lib/pohoda/parsers/acu/list_accounting_unit_type.rb, line 11
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:item_accounting_unit] = item_accounting_unit.to_h if has? 'acu:itemAccountingUnit'

  hash
  super.merge(hash)
end