method

get_proxy_from_env

ruby latest stable - Class: Gem::Request

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

get_proxy_from_env(scheme = 'http')
public

Returns a proxy URI for the given scheme if one is set in the environment variables.