class Webdrivers::Network

Public Class Methods

http() click to toggle source
# File lib/webvalve/monkey_patches.rb, line 19
def http
  client = WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP
  if using_proxy
    client.Proxy(Webdrivers.proxy_addr, Webdrivers.proxy_port,
                 Webdrivers.proxy_user, Webdrivers.proxy_pass)
  else
    client
  end
end