Method: ActiveResource::Base.proxy=

Defined in:
lib/active_resource/base.rb

.proxy=(proxy) ⇒ Object

Sets the URI of the http proxy to the value in the proxy argument.



280
281
282
283
# File 'lib/active_resource/base.rb', line 280

def proxy=(proxy)
  @connection = nil
  @proxy = proxy.nil? ? nil : create_proxy_uri_from(proxy)
end