Class: Webdrivers::Network
- Inherits:
-
Object
- Object
- Webdrivers::Network
- Defined in:
- lib/webvalve/monkey_patches.rb
Class Method Summary collapse
Class Method Details
.http ⇒ Object
19 20 21 22 23 24 25 26 27 |
# 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 |