Sha256: 1f5b81428c709e40de85cb298eaa665adb136e9de190284552f213b06963ddee
Contents?: true
Size: 652 Bytes
Versions: 5
Compression:
Stored size: 652 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/kusovnik_type' require 'money_s3/builders/vzor_komponenta_type' module MoneyS3 module Builders class Reference include 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? :typ_kusovnik root << KusovnikType.new('TypKusovnik', data[:typ_kusovnik]).builder end if data.key? :vzor root << VzorKomponentaType.new('Vzor', data[:vzor]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems