lib/icloud/helpers/proxy.rb
#
# Internal: Returns the list of proxy servers found in the environment.
# environment. Proxies can be set using the following ENV vars (in order):
# `HTTPS_PROXY`, `https_proxy`, `HTTP_PROXY`, `http_proxy`.
#
Returns the list of proxy servers found in the environment.
environment.
Returns the list of proxy servers found in the environment . environment .
def proxies
      %w[HTTPS_PROXY https_proxy HTTP_PROXY http_proxy].map do |key|
        env[key]
      end.compact
    end
def proxies %w[ HTTPS_PROXY https_proxy HTTP_PROXY http_proxy ] . map do | key | env [ key ] end . compact end
Internal: Returns the list of proxy servers found in the environment.
Internal : Returns the list of proxy servers found in the environment .