Sha256: 9b71cfeb333c221cc33474b93526265c9a74d81402942fdef23aa2dfa479fa8f

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/cenova_hladina'

module MoneyS3
  module Builders
    class SeznamCenHladin
      include BaseBuilder

      attr_accessor :cenova_hladina

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

        if cenova_hladina
          cenova_hladina.each { |i| root << CenovaHladina.new(i, 'CenovaHladina').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_cen_hladin.rb