Sha256: 6cd742488db89648a9378e69fd7b63f1e78bbd8053ee6a0aa57915d5e1f71fee
Contents?: true
Size: 423 Bytes
Versions: 2
Compression:
Stored size: 423 Bytes
Contents
module MoneyS3 module Builders class SeznamNabPrij 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? :nab_prij data[:nab_prij].each { |i| root << NabPrij.new('NabPrij', 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_nab_prij.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_nab_prij.rb |