Sha256: 3f84c2b4035d638a74d2f77a765f6aeca5f32c791c4ff3fcb77339be05292843

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/popt_prij'

module MoneyS3
  module Builders
    class SeznamPoptPrij
      include BaseBuilder

      attr_accessor :popt_prij

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

        if popt_prij
          popt_prij.each { |i| root << PoptPrij.new(i, 'PoptPrij').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_popt_prij.rb