Sha256: 16739e0a44bc81cc5b23e20f9ff7ca7d2f7b789233edaca9388f1a5e9e902cb4
Contents?: true
Size: 999 Bytes
Versions: 6
Compression:
Stored size: 999 Bytes
Contents
module MoneyS3 module Builders class AlternativaPrislusenstviType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Popis', data[:popis], data[:popis_attributes]) if data.key? :popis root << build_element('PocMJ', data[:poc_mj], data[:poc_mj_attributes]) if data.key? :poc_mj root << build_element('Poradi', data[:poradi], data[:poradi_attributes]) if data.key? :poradi root << build_element('DruhKomp', data[:druh_komp], data[:druh_komp_attributes]) if data.key? :druh_komp root << build_element('Symetric', data[:symetric], data[:symetric_attributes]) if data.key? :symetric if data.key? :km_karta root << KmKartaType.new('KmKarta', data[:km_karta]).builder end if data.key? :sklad root << SkladType.new('Sklad', data[:sklad]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems