Method: HTTPX::Plugins::Authentication::Socks5#initialize
- Defined in:
- lib/httpx/plugins/auth/socks5.rb
#initialize(user, password) ⇒ Socks5
Returns a new instance of Socks5.
7 8 9 10 |
# File 'lib/httpx/plugins/auth/socks5.rb', line 7 def initialize(user, password, **) @user = user @password = password end |