Sha256: 965c618b67675b767f4a80dfc6a9aa73ee5a91edcc92f6a281261ff58e7883a8
Contents?: true
Size: 354 Bytes
Versions: 5
Compression:
Stored size: 354 Bytes
Contents
module Metrojobb class Ads attr_reader :ads def initialize(ads) @ads = ads end def to_xml builder = Builder::XmlMarkup.new(indent: DEFAULT_INDENT) builder.instruct!(:xml, version: '1.0', encoding: 'UTF-8') builder.ads do |node| ads.each { |ad| ad.to_xml(builder: builder) } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
metrojobb-0.6.1 | lib/metrojobb/ads.rb |
metrojobb-0.6.0 | lib/metrojobb/ads.rb |
metrojobb-0.5.1 | lib/metrojobb/ads.rb |
metrojobb-0.4.0 | lib/metrojobb/ads.rb |
metrojobb-0.3.0 | lib/metrojobb/ads.rb |