APIdock / Ruby on Rails
/
Browse About
method

proxy=

v3.0.9 - Show latest stable - Class: ActiveResource::Base
proxy=(proxy)
public

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

# File activeresource/lib/active_resource/base.rb, line 422
      def proxy=(proxy)
        @connection = nil
        @proxy = proxy.nil? ? nil : create_proxy_uri_from(proxy)
      end

Related methods

  • Instance methods
  • ==
  • clone
  • destroy
  • dup
  • encode
  • eql?
  • exists?
  • hash
  • id
  • id=
  • known_attributes
  • load
  • new?
  • new_record?
  • persisted?
  • reload
  • respond_to?
  • respond_to_without_attributes?
  • save
  • save!
  • schema
  • to_json
  • to_xml
  • update_attribute
  • update_attributes
  • Class methods
  • all
  • auth_type
  • auth_type=
  • build
  • collection_path
  • connection
  • create
  • delete
  • element_path
  • exists?
  • find
  • first
  • format
  • format=
  • headers
  • known_attributes
  • last
  • logger
  • new
  • new_element_path
  • password
  • password=
  • prefix
  • prefix=
  • prefix_source
  • proxy
  • proxy=
  • schema
  • schema=
  • set_prefix
  • site
  • site=
  • ssl_options
  • ssl_options=
  • timeout
  • timeout=
  • user
  • user=
  • Protected methods
  • protectedcollection_path
  • protectedconnection
  • protectedcreate
  • protectedelement_path
  • protectedid_from_response
  • protectedload_attributes_from_response
  • protectednew_element_path
  • protectedupdate
  • Private methods
  • privatecreate_proxy_uri_from
  • privatecreate_site_uri_from
  • privatefind_every
  • privatefind_one
  • privatefind_single
  • privateinstantiate_collection
  • privateinstantiate_record
  • privateprefix_parameters
  • privatequery_string
  • privatesplit_options
  • privateuri_parser
  • privatefind_or_create_resource_for
  • privatefind_or_create_resource_for_collection
  • privatefind_resource_in_modules
  • privatemethod_missing
  • privatesplit_options
APIdock API Documentation Browser

© 2026 APIdock