Sha256: c54281e551bc717ea367b2d45814841d896d6f8e64f3e85471f92ae6fa6ff172
Contents?: true
Size: 816 Bytes
Versions: 6
Compression:
Stored size: 816 Bytes
Contents
module MoneyS3 module Builders class MsgSklDoklType < MessageType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) super.nodes.each do |n| root << n end if data.key? :dod_odb root << MsgFirmaType.new('DodOdb', data[:dod_odb]).builder end if data.key? :konec_prij root << MsgFirmaType.new('KonecPrij', data[:konec_prij]).builder end if data.key? :polozka data[:polozka].each { |i| root << MsgPolozType.new('Polozka', i).builder } end if data.key? :nep_platba data[:nep_platba].each { |i| root << MessageType.new('NepPlatba', i).builder } end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems