Sha256: 3934d3c5b53892473e0440b379fd037ee18d3dbd744e0f950be41823bfe97b21
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 Bytes
Contents
module MoneyS3 module Builders class VazbaType 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('Typ', data[:typ]) if data.key? :typ root << build_element('PodTyp', data[:pod_typ]) if data.key? :pod_typ if data.key? :doklad root << Doklad.new('Doklad', data[:doklad]).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/vazba_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/vazba_type.rb |