Sha256: 18068b8955738b60e8fdc391d3805b92dfe0c28397ca8cf66a86a92a9d9475d1

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamClenDPH
      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? :clen_dph
          data[:clen_dph].each { |i| root << ClenDPH.new('ClenDPH', i).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/seznam_clen_dph.rb