Sha256: 533c1ac280f039a82c15757e5144ad84497eab84a7978b9b114dea345dda15ea
Contents?: true
Size: 390 Bytes
Versions: 2
Compression:
Stored size: 390 Bytes
Contents
module MoneyS3 module Builders class Data8 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 root << MzdaType.new('Mzda', data[:mzda]).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/data8.rb |
money_s3-0.11.0 | lib/money_s3/builders/data8.rb |