Sha256: 0fedaa7ef988286d4f092fc89f4862f37421be50b43657165980bf8b686cf689
Contents?: true
Size: 539 Bytes
Versions: 5
Compression:
Stored size: 539 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class Cinnost 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('Zkrat', data[:zkrat]) if data.key? :zkrat root << build_element('Nazev', data[:nazev]) if data.key? :nazev root << build_element('Pozn', data[:pozn]) if data.key? :pozn root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems