Sha256: 1281776c29decacfd1e9f891fefb421af4c4c6ffbe39cc6c2c0fcd8a9eef49cb
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/zakazka' module MoneyS3 module Builders class SeznamZakazka include BaseBuilder def builder root = Ox::Element.new(element_name) if attributes.key? :zakazka attributes[:zakazka].each { |i| root << Zakazka.new(i, 'Zakazka').builder } end root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/builders/seznam_zakazka.rb |