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