Sha256: cfa0dfd9f28fe47012f65812d26db8c24763a9ffc0007b966c34cdca7fe3f5ce
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 Bytes
Contents
module MoneyS3 module Builders class Vlajky 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? :global root << VlajkaType.new('Global', data[:global]).builder end if data.key? :user root << VlajkaType.new('User', data[:user]).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/vlajky.rb |
money_s3-0.11.0 | lib/money_s3/builders/vlajky.rb |