Sha256: 879d25e0a00fac6e9552f795c79c8f43eafbc05b78d21971c50d84073f9adf7d
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
module MoneyS3 module Builders class SeznamCenHladin include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/builders/seznam_cen_hladin.rb |