Sha256: 1af0d07e13c022f30b047794878bfe029c365ff79b67a56a373e80139ac59a9e
Contents?: true
Size: 758 Bytes
Versions: 6
Compression:
Stored size: 758 Bytes
Contents
module MoneyS3 module Builders class SouhrnDPHPolType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Zaklad_MJ', data[:zaklad_mj], data[:zaklad_mj_attributes]) if data.key? :zaklad_mj root << build_element('DPH_MJ', data[:dph_mj], data[:dph_mj_attributes]) if data.key? :dph_mj root << build_element('Zaklad', data[:zaklad], data[:zaklad_attributes]) if data.key? :zaklad root << build_element('DPH', data[:dph], data[:dph_attributes]) if data.key? :dph if data.key? :valuty root << Valuty.new('Valuty', data[:valuty]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems