Sha256: 4e616955d9c7be381631630d9aaf1206006d30fbcac2dea5b1bebd040da62374

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/int_dokl'

module MoneyS3
  module Builders
    class SeznamIntDokl
      include BaseBuilder

      def builder
        root = Ox::Element.new(element_name)

        if attributes.key? :int_dokl
          attributes[:int_dokl].each { |i| root << IntDokl.new(i, 'IntDokl').builder }
        end

        root
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.5.0 lib/money_s3/builders/seznam_int_dokl.rb