Sha256: d683ae9f27984125d58ba3802db9643e3dc44ace02fb3ba792ad6a3f8b43d30e
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
module MoneyS3 module Builders class SeznamObjVyd 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? :obj_vyd data[:obj_vyd].each { |i| root << ObjVyd.new('ObjVyd', 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_obj_vyd.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_obj_vyd.rb |