class Pohoda::Builders::Lst::CreateAccountingDoubleEntryType

Public Instance Methods

builder() click to toggle source
# File lib/pohoda/builders/lst/create_accounting_double_entry_type.rb, line 7
def builder
  root = Ox::Element.new(name)
  root = add_attributes_and_namespaces(root)

  root << build_element('lst:createAccounting', data[:create_accounting], data[:create_accounting_attributes]) if data.key? :create_accounting

  root
end