Sha256: d218eb154c8e844791c687a3914e2fab582e217908830361608cf21c79a8893d
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
module MoneyS3 module Builders class SeznamFaktPrij 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? :fakt_prij data[:fakt_prij].each { |i| root << FaktPrij.new('FaktPrij', 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_fakt_prij.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_fakt_prij.rb |