Sha256: a4b43a6076692706346fa12f63915ed805de9700aa21ecd5be6316df708c151e
Contents?: true
Size: 659 Bytes
Versions: 2
Compression:
Stored size: 659 Bytes
Contents
module MoneyS3 module Builders class Control include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end if data.key? :cislo_davky root << MessageRootType.new('CisloDavky', data[:cislo_davky]).builder end if data.key? :kod_agendy root << MessageRootType.new('KodAgendy', data[:kod_agendy]).builder end if data.key? :hosp_rok root << MessageRootType.new('HospRok', data[:hosp_rok]).builder end root end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/builders/control.rb |
money_s3-0.11.0 | lib/money_s3/builders/control.rb |