class Pohoda::Builders::Acu::ListAccountingUnitType
Public Instance Methods
builder()
click to toggle source
Calls superclass method
# File lib/pohoda/builders/acu/list_accounting_unit_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) super.nodes.each do |n| root << n end if data.key? :item_accounting_unit root << Acu::ItemAccountingUnitType.new('acu:itemAccountingUnit', data[:item_accounting_unit]).builder end root end