diff options
Diffstat (limited to 'lib/net/ssh/proxy')
-rw-r--r-- | lib/net/ssh/proxy/http.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/net/ssh/proxy/http.rb b/lib/net/ssh/proxy/http.rb index 5d64173..49b1695 100644 --- a/lib/net/ssh/proxy/http.rb +++ b/lib/net/ssh/proxy/http.rb @@ -87,11 +87,11 @@ module Net; module SSH; module Proxy body = socket.read(headers["Content-Length"].to_i) end - return { :version => version, - :code => code.to_i, - :reason => reason, - :headers => headers, - :body => body } + return { version: version, + code: code.to_i, + reason: reason, + headers: headers, + body: body } end end |