Sha256: f00bbb06843b5e8b566944e37fc48b8e25090d38e4b787c5c637b2f03cbda417

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/prevodka'

module MoneyS3
  module Builders
    class SeznamPrevodka
      include BaseBuilder

      attr_accessor :prevodka

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

        if prevodka
          prevodka.each { |i| root << Prevodka.new(i, 'Prevodka').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_prevodka.rb