Sha256: 2e59f1bdbf6ef274cc861a4b0e14f43ad70d90e592e86f5cd62aea96ea5a884f
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
module MoneyS3 module Builders class VyrobniCisloType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end root << build_element('VyrobniCis', data[:vyrobni_cis]) if data.key? :vyrobni_cis root << build_element('DatumVyrob', data[:datum_vyrob]) if data.key? :datum_vyrob root << build_element('CarovyKod', data[:carovy_kod]) if data.key? :carovy_kod 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/vyrobni_cislo_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/vyrobni_cislo_type.rb |