Flowdock
method

proxy=

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP
proxy=(proxy) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/netHttpClient.rb, line 46
  def proxy=(proxy)
    if proxy.nil?
      @proxy = nil
    else
      if proxy.is_a?(URI)
        @proxy = proxy
      else
        @proxy = URI.parse(proxy)
      end
      if @proxy.scheme == nil or @proxy.scheme.downcase != 'http' or
          @proxy.host == nil or @proxy.port == nil
        raise ArgumentError.new("unsupported proxy `#{proxy}'")
      end
    end
    reset_all
    @proxy
  end
Register or log in to add new notes.