Sha256: 46e3a9d190294a06cb28a834f4521e126e8032b01ccfcca120195536f8f1877b

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/uc_osnova_type'

module MoneyS3
  module Builders
    class SeznamUcOsnov
      include BaseBuilder

      attr_accessor :uc_osnova

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

        if uc_osnova
          uc_osnova.each { |i| root << UcOsnovaType.new(i, 'UcOsnova').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_uc_osnov.rb