Method: Ferrum::Proxy#initialize
- Defined in:
- lib/ferrum/proxy.rb
#initialize(host: "127.0.0.1", port: 0, user: nil, password: nil) ⇒ Proxy
Returns a new instance of Proxy.
15 16 17 18 19 20 21 |
# File 'lib/ferrum/proxy.rb', line 15 def initialize(host: "127.0.0.1", port: 0, user: nil, password: nil) @file = nil @host = host @port = port @user = user @password = password end |