Skip to content

Commit 25f91f7

Browse files
Merge pull request #4 from hipsterelitist/master
return hash instead of inspect string for response headers
2 parents f3bad61 + 176a364 commit 25f91f7

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)