Sha256: 7a25d87f219de3fb0a23c554318d44728243b3d8602a0cb6ade5216068ebd3d3
Contents?: true
Size: 541 Bytes
Versions: 5
Compression:
Stored size: 541 Bytes
Contents
require 'money_s3/builders/base_builder' module MoneyS3 module Builders class Stredisko 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