X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5cbd4038edb32b0304bd766e70fc680ea447b52b..6c1917ce73bf8aec9fb6d391ce80f024982eea2d:/lib/quova.rb diff --git a/lib/quova.rb b/lib/quova.rb index a59f432b5..b09f8acea 100644 --- a/lib/quova.rb +++ b/lib/quova.rb @@ -1,6 +1,6 @@ ## # Load required libraries -require 'soap/wsdlDriver' +require "soap/wsdlDriver" ## # Monkey patch WSDL parser to stop it moaning @@ -34,13 +34,13 @@ module Quova ## # Create SOAP endpoint - @@soap = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver - @@soap.options["protocol.http.basic_auth"] << [WSDL_URL, WSDL_USER, WSDL_PASS] + @soap = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver + @soap.options["protocol.http.basic_auth"] << [WSDL_URL, WSDL_USER, WSDL_PASS] ## # Accessor for SOAP endpoint def self.soap - @@soap + @soap end ##