app/models/sws/web_service_result.rb
# An instance of UwWebServiceConnection that is the base \connection to the remote service.
# The +refresh+ parameter toggles whether or not the \connection is refreshed at every request
# or not (defaults to <tt>false</tt>).
An instance of UwWebServiceConnection that is the base \connection to the remote service.
The +refresh+ parameter toggles whether or not the \connection is refreshed at every request
or not (defaults to false).
An instance of UwWebServiceConnection that is the base \ connection to the remote service . The + refresh + parameter toggles whether or not the \ connection is refreshed at every request or not ( defaults to false ) .
def connection(refresh = false)
      if !@connection || refresh        
        @connection = UwWebServiceConnection.new(site) if refresh || @connection.nil?
        @connection.timeout = timeout if timeout
        @connection.ssl_options = ssl_options
        @connection.caller_class = self
        @connection        
      else
        @connection
      end
    end
def connection ( refresh = false ) if ! @connection || refresh @connection = UwWebServiceConnection . new ( site ) if refresh || @connection . nil? @connection . timeout = timeout if timeout @connection . ssl_options = ssl_options @connection . caller_class = self @connection else @connection end end
An instance of UwWebServiceConnection that is the base \connection to the remote service.
An instance of UwWebServiceConnection that is the base \ connection to the remote service .
refresh