Sha256: acd65e9167153785434dad9af2b1e52eec333548a77ac9317ad52af875593d9d
Contents?: true
Size: 469 Bytes
Versions: 5
Compression:
Stored size: 469 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/vazba_type' module MoneyS3 module Builders class SeznamVazeb 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? :vazba root << VazbaType.new('Vazba', data[:vazba]).builder end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems