Sha256: 2e12ac1d20569e327365e390e9ecfdb2e8c1ec8de5a81a3a5d9398b8cc91f648
Contents?: true
Size: 566 Bytes
Versions: 5
Compression:
Stored size: 566 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class SkupinaFiremType include BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end root << build_element('Zkratka', data[:zkratka]) if data.key? :zkratka root << build_element('Nazev', data[:nazev]) if data.key? :nazev root << build_element('Poznamka', data[:poznamka]) if data.key? :poznamka root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems