Sha256: b3824dae057ff9d3d472ee80773d744a6b34eb085de38c8c40ac0b3d88d6ad9d
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
module MoneyS3 module Builders class Data2 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? :fakt_vyd_dpp root << FakturaType.new('FaktVyd_DPP', data[:fakt_vyd_dpp]).builder end if data.key? :fakt_prij_dpp root << FakturaType.new('FaktPrij_DPP', data[:fakt_prij_dpp]).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/data2.rb |
money_s3-0.11.0 | lib/money_s3/builders/data2.rb |