Module: HTTPX::Plugins::Proxy::SSH
- Defined in:
- lib/httpx/plugins/proxy/ssh.rb
Defined Under Namespace
Modules: ConnectionMethods, InstanceMethods
Class Method Summary
collapse
Class Method Details
13
14
15
16
17
18
19
|
# File 'lib/httpx/plugins/proxy/ssh.rb', line 13
def self.(options)
Class.new(options.class) do
def_option(:proxy) do |pr|
Hash[pr]
end
end.new(options)
end
|
.load_dependencies ⇒ Object
9
10
11
|
# File 'lib/httpx/plugins/proxy/ssh.rb', line 9
def self.load_dependencies(*)
require "net/ssh/gateway"
end
|