lib/icloud/session.rb
#
# Internal: Returns the Net::HTTP class which should be used, which might be
# a configured Proxy.
#
Returns the Net::HTTP class which should be used, which might be
a configured Proxy.
Returns the Net :: HTTP class which should be used which might be a configured Proxy .
def http_class
      if use_proxy?
        Net::HTTP::Proxy(proxy.host, proxy.port, proxy.user, proxy.password)
      else
        Net::HTTP
      end
    end
def http_class if use_proxy? Net :: HTTP :: Proxy ( proxy . host , proxy . port , proxy . user , proxy . password ) else Net :: HTTP end end
Internal: Returns the Net::HTTP class which should be used, which might be
a configured Proxy.
Internal : Returns the Net :: HTTP class which should be used which might be a configured Proxy .