Sha256: d0e1f8909db064bcd3a71e49fe4818a64099995bbf489b5d81a1b41a3faf0d0b

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

module MoneyS3
  module Builders
    class Data6
      include ParserCore::BaseBuilder

      def builder
        root = Ox::Element.new(name)
        if data.key? :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

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-1.0.0 lib/money_s3/builders/data6.rb