Sha256: 8ad0c31a06d3a53884beafe4479d5a49be03b13978ada72ad737d62810f6d9af

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamCenHladin
      include ParserCore::BaseBuilder

      def builder
        root = Ox::Element.new(name)
        root = add_attributes_and_namespaces(root)

        if data.key? :cenova_hladina
          data[:cenova_hladina].each { |i| root << CenovaHladina.new('CenovaHladina', i).builder }
        end

        root
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
money_s3-2.4.1 lib/money_s3/builders/seznam_cen_hladin.rb
money_s3-2.4.0 lib/money_s3/builders/seznam_cen_hladin.rb
money_s3-2.3.0 lib/money_s3/builders/seznam_cen_hladin.rb
money_s3-2.2.0 lib/money_s3/builders/seznam_cen_hladin.rb
money_s3-2.1.0 lib/money_s3/builders/seznam_cen_hladin.rb
money_s3-2.0.0 lib/money_s3/builders/seznam_cen_hladin.rb