Sha256: 1ebb68d4358250fa694f009204c4f9d8fb682327caf8ed723f266bd524320a2c
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
module MoneyS3 module Builders class Eshop2 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('IN_Export', data[:in_export], data[:in_export_attributes]) if data.key? :in_export root << build_element('IN_Changed', data[:in_changed], data[:in_changed_attributes]) if data.key? :in_changed root << build_element('IN_Id', data[:in_id], data[:in_id_attributes]) if data.key? :in_id root << build_element('IN_Jmeno', data[:in_jmeno], data[:in_jmeno_attributes]) if data.key? :in_jmeno root << build_element('IN_Heslo', data[:in_heslo], data[:in_heslo_attributes]) if data.key? :in_heslo root << build_element('IN_Dealer', data[:in_dealer], data[:in_dealer_attributes]) if data.key? :in_dealer root << build_element('IN_DSkup', data[:in_d_skup], data[:in_d_skup_attributes]) if data.key? :in_d_skup root << build_element('IN_IndSlev', data[:in_ind_slev], data[:in_ind_slev_attributes]) if data.key? :in_ind_slev root << build_element('IN_Soukrom', data[:in_soukrom], data[:in_soukrom_attributes]) if data.key? :in_soukrom root << build_element('IN_DSkupZkratka', data[:in_d_skup_zkratka], data[:in_d_skup_zkratka_attributes]) if data.key? :in_d_skup_zkratka 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/eshop2.rb |