Sha256: 734b41922fd952a81ef780d8c132453318278c853bba87c745dff2e090374814
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
module MoneyS3 module Builders class StrediskoType 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('Zkrat', data[:zkrat], data[:zkrat_attributes]) if data.key? :zkrat root << build_element('Nazev', data[:nazev], data[:nazev_attributes]) if data.key? :nazev root << build_element('Pozn', data[:pozn], data[:pozn_attributes]) if data.key? :pozn 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/stredisko_type.rb |