Sha256: e64918ded2bb8a1af2006b7c42d7241f771e37271d041d335c117779fd273b47
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
module MoneyS3 module Builders class SeznamDLPrij 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? :dl_prij data[:dl_prij].each { |i| root << DLPrij.new('DLPrij', 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_dl_prij.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_dl_prij.rb |