Sha256: 42f315583733cf59a6ec77abc7be9942a1b242933f66e62bbef97a37a501d021
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
module MoneyS3 module Builders class MsgIntDoklType < 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 root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems