lib/httpx/plugins/proxy/ssh.rb in httpx-0.13.2 vs lib/httpx/plugins/proxy/ssh.rb in httpx-0.14.0
- old
+ new
@@ -10,12 +10,12 @@
require "net/ssh/gateway"
end
def self.extra_options(options)
Class.new(options.class) do
- def_option(:proxy) do |pr|
- Hash[pr]
- end
+ def_option(:proxy, <<-OUT)
+ Hash[value]
+ OUT
end.new(options)
end
module InstanceMethods
private