Skip to content

Commit 803a5f0

Browse files
committed
Update generated code
1 parent 82a6d7a commit 803a5f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/client/petstore/ruby/lib/petstore/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def call_api(http_method, path, opts = {})
6363
:message => response.return_message)
6464
else
6565
fail ApiError.new(:code => response.code,
66-
:response_headers => response.headers,
66+
:response_headers => response.headers.to_h,
6767
:response_body => response.body),
6868
response.status_message
6969
end

0 commit comments

Comments
 (0)