APIdock / Ruby on Rails
/
Browse About
method

create_proxy_uri_from

v2.3.8 - Show latest stable - Class: ActiveResource::Base
create_proxy_uri_from(proxy)
private

Accepts a URI and creates the proxy URI from that.

# File activeresource/lib/active_resource/base.rb, line 682
        def create_proxy_uri_from(proxy)
          proxy.is_a?(URI) ? proxy.dup : URI.parse(proxy)
        end

Related methods

  • Instance methods
  • ==
  • as_json
  • clone
  • destroy
  • dup
  • encode
  • eql?
  • exists?
  • hash
  • id
  • id=
  • load
  • new?
  • new_record?
  • reload
  • respond_to?
  • save
  • to_param
  • to_xml
  • Class methods
  • collection_path
  • connection
  • create
  • delete
  • element_path
  • exists?
  • find
  • format
  • format=
  • headers
  • new
  • password
  • password=
  • prefix
  • prefix=
  • prefix_source
  • proxy
  • proxy=
  • 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
  • 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
  • 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