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