Sha256: 9ab3c7bb5c4527e8a1580dc1d4c9ed77aee766034b3a442e677e9ed37a9f0b40
Contents?: true
Size: 421 Bytes
Versions: 2
Compression:
Stored size: 421 Bytes
Contents
module MoneyS3 module Builders class SeznamVydejka 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? :vydejka data[:vydejka].each { |i| root << Vydejka.new('Vydejka', 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_vydejka.rb |
money_s3-0.11.0 | lib/money_s3/builders/seznam_vydejka.rb |