Sha256: 04b039bcf6b2aede2955aa471dd4c821d5b1d6be0b012dd589f5b67fcd306140

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

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

module MoneyS3
  module Builders
    class SeznamIntDokl
      include BaseBuilder

      attr_accessor :int_dokl

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

        if int_dokl
          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.4.0 lib/money_s3/builders/seznam_int_dokl.rb