lib/icloud/helpers/proxy.rb
#
# Public: Returns a URI containing the current proxy server, as set by the
# environment, or nil if no proxy is set.
#
Returns a URI containing the current proxy server, as set by the
environment, or nil if no proxy is set.
Returns a URI containing the current proxy server as set by the environment or nil if no proxy is set .
def proxy
      if proxies.any?
        URI(proxies.first)
      else
        nil
      end
    end
def proxy if proxies . any? URI ( proxies . first ) else nil end end
Public: Returns a URI containing the current proxy server, as set by the
environment, or nil if no proxy is set.
Public : Returns a URI containing the current proxy server as set by the environment or nil if no proxy is set .