method

get_proxy_from_env

v2_6_3 - Show latest stable - Class: Gem::Request
get_proxy_from_env(scheme = 'http')
public

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