Sha256: 3f4464a56a8d7c91fbb667a82195a082f6978809b31f85f2e86e1e1bc1edbc63

Contents?: true

Size: 529 Bytes

Versions: 7

Compression:

Stored size: 529 Bytes

Contents

begin; require 'rforce/soap_response_nokogiri'; rescue LoadError; end
begin; require 'rforce/soap_response_hpricot'; rescue LoadError; end
begin; require 'rforce/soap_response_expat';   rescue LoadError; end
require 'rforce/soap_response_rexml'


module RForce
  # Use the fastest XML parser available.
  SoapResponse =
    (RForce::const_get(:SoapResponseExpat) rescue nil)    ||
    (RForce::const_get(:SoapResponseNokogiri) rescue nil) ||
    (RForce::const_get(:SoapResponseHpricot) rescue nil)  ||
    SoapResponseRexml
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rforce-0.11 lib/rforce/soap_response.rb
rforce-0.10 lib/rforce/soap_response.rb
rforce-0.9 lib/rforce/soap_response.rb
rforce-0.8.1 lib/rforce/soap_response.rb
rforce-0.8 lib/rforce/soap_response.rb
rforce-0.7 lib/rforce/soap_response.rb
rforce-0.6 lib/rforce/soap_response.rb