Sha256: 999795cd31eab421303726c9aaa74ca396fa17e4d670210f05fa8900c9efbdae
Contents?: true
Size: 681 Bytes
Versions: 6
Compression:
Stored size: 681 Bytes
Contents
module MoneyS3 module Builders class MsgPokDoklType < 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? :adresa root << MessageType.new('Adresa', data[:adresa]).builder end if data.key? :polozka data[:polozka].each { |i| root << MessageType.new('Polozka', i).builder } end if data.key? :uhrada data[:uhrada].each { |i| root << MessageType.new('Uhrada', i).builder } end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems