Sha256: 06ce91e3d75c843bdf493472918c655bd8ca7f13fc51525557ac663867cfb468
Contents?: true
Size: 667 Bytes
Versions: 6
Compression:
Stored size: 667 Bytes
Contents
module MoneyS3 module Builders class PrepravceType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Zkrat', data[:zkrat], data[:zkrat_attributes]) if data.key? :zkrat root << build_element('Nazev', data[:nazev], data[:nazev_attributes]) if data.key? :nazev root << build_element('Poznamka', data[:poznamka], data[:poznamka_attributes]) if data.key? :poznamka root << build_element('KodOdesil', data[:kod_odesil], data[:kod_odesil_attributes]) if data.key? :kod_odesil root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems