Sha256: ccb1734512a014b76fd9b7d5618409a3886ac8b54f489ea948c7b51de587a16c
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
module MoneyS3 module Builders class Data4 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? :predkontace_de root << PredkontaceDEType.new('PredkontaceDE', data[:predkontace_de]).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/data4.rb |
money_s3-0.11.0 | lib/money_s3/builders/data4.rb |