Skip to content

Commit 176a364

Browse files
return hash for headers
1 parent f3bad61 commit 176a364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_http_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Response
1313
def initialize(response)
1414
@status_code = response.code
1515
@body = response.body
16-
@headers = response.to_hash.inspect
16+
@headers = response.to_hash
1717
end
1818
end
1919

0 commit comments

Comments
 (0)