Sha256: 5c8622a63357c47ec027c22e0cc77908195cef63f42809b05b3ef216bdb87553
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/clen_dph' module MoneyS3 module Builders class SeznamClenDPH 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? :clen_dph data[:clen_dph].each { |i| root << ClenDPH.new('ClenDPH', i).builder } end root end end end end
Version data entries
5 entries across 5 versions & 1 rubygems