Sha256: 96a4b9569fcc5f3220dc717ed538bb35c4fd8a18ac5f5e2ddfcc45996d049ae4
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
module MoneyS3 module Builders class VysledekOdesl include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end root << build_element('Chyba', data[:chyba], data[:chyba_attributes]) if data.key? :chyba if data.key? :varovani data[:varovani].map { |i| Ox::Element.new('Varovani') << i }.each { |i| root << i } end root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/builders/vysledek_odesl.rb |