class Pohoda::Builders::Int::IntDocDetailType
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/int/int_doc_detail_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) if data.key? :int_doc_item data[:int_doc_item].each { |i| root << Int::IntDocItemType.new('int:intDocItem', i).builder } end root end