Sha256: 4a346afb9ad0b954af55b485b1aa865fffae420448d655d5c4057118fe4f21bc

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

module MoneyS3
  module Builders
    class Data6
      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? :zauctovani_dph_de
          root << ZauctovaniDPHDetype.new('ZauctovaniDPH_DE', data[:zauctovani_dph_de]).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/data6.rb
money_s3-0.11.0 lib/money_s3/builders/data6.rb