Sha256: 8f3cf399ccdf374abc084001e736533417843630deae5371c832dd0cbcd361bc
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
module MoneyS3 module Builders class MsgZavazekType < 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