class Pohoda::Builders::Act::AccountancyType
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/act/accountancy_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) if data.key? :accounting_item data[:accounting_item].each { |i| root << Act::AccountingItemType.new('act:accountingItem', i).builder } end root end