Sha256: c1a08d82e90ed44ec90b9621c51f0a60853f0a77d6ddcebe14af8e8a2ec01ba9
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
module MoneyS3 module Builders class StavZasobyType 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('Zasoba', data[:zasoba], data[:zasoba_attributes]) if data.key? :zasoba root << build_element('Rezervace', data[:rezervace], data[:rezervace_attributes]) if data.key? :rezervace root << build_element('Objednano', data[:objednano], data[:objednano_attributes]) if data.key? :objednano 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/stav_zasoby_type.rb |