Sha256: 3b21a09e81e187948bb19a1039be1e2f920149499a0506a8662dee48b3b5be85
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
module MoneyS3 module Builders class KomponentaKusovnikType 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? :child root << ChildKusovnikType.new('Child', data[:child]).builder end if data.key? :reference root << Reference.new('Reference', data[:reference]).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/komponenta_kusovnik_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/komponenta_kusovnik_type.rb |