Sha256: 7b3853d21cee661383f563920b49b25eefc0e6bded7878265359ce5b80410108
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
module MoneyS3 module Builders class VazbaType 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('Typ', data[:typ], data[:typ_attributes]) if data.key? :typ root << build_element('PodTyp', data[:pod_typ], data[:pod_typ_attributes]) if data.key? :pod_typ if data.key? :doklad root << Doklad.new('Doklad', data[:doklad]).builder 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/vazba_type.rb |