Sha256: 712be151ee01e9a2a193833504f71f54a6e9fd964c42bcdb54bf39b62a3992ba

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/vydejka'

module MoneyS3
  module Builders
    class SeznamVydejka
      include BaseBuilder

      attr_accessor :vydejka

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

        if vydejka
          vydejka.each { |i| root << Vydejka.new(i, 'Vydejka').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_vydejka.rb