Sha256: 8dabbe6056ce80fd9a71bbc022f9941d202737c6f39cf67e9e6dcb1df2d77446
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
module MoneyS3 module Builders class SeznamMezd include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end if data.key? :mzda data[:mzda].each { |i| root << MzdaType.new('Mzda', i).builder } end root end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/builders/seznam_mezd.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_mezd.rb |