We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a6d7a commit 803a5f0Copy full SHA for 803a5f0
samples/client/petstore/ruby/lib/petstore/api_client.rb
@@ -63,7 +63,7 @@ def call_api(http_method, path, opts = {})
63
:message => response.return_message)
64
else
65
fail ApiError.new(:code => response.code,
66
- :response_headers => response.headers,
+ :response_headers => response.headers.to_h,
67
:response_body => response.body),
68
response.status_message
69
end
0 commit comments