def use_proxy(uri, port, user=nil, pass=nil)
      @http_class = Net::HTTP::Proxy(uri, port, user, pass)
    end
def use_proxy(uri, port, user=nil, pass=nil)
      @http_class = Net::HTTP::Proxy(uri, port, user, pass)
    end
Initializer

 * auth
 * cache

 Set proxy if you need.

 Example:

   client.use_proxy('http://myproxy/', 8080)
   client.use_proxy('http://myproxy/', 8080, 'myusername', 'mypassword')