Sha256: 3c617c1bb9e0fa004dc82b834816a412853f90b7509b577e035a0cded1dc723a
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
module MoneyS3 module Builders class TelefonType 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('Pred', data[:pred], data[:pred_attributes]) if data.key? :pred root << build_element('Cislo', data[:cislo], data[:cislo_attributes]) if data.key? :cislo root << build_element('Klap', data[:klap], data[:klap_attributes]) if data.key? :klap 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/telefon_type.rb |