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