openapi-generator/samples/client/petstore-security-test/ruby/lib
Daniel Ge dd1ed12318 Make connection failures visible with generated Ruby SDKs (#3640)
* Make connection failures visible in Ruby SDK

The underlying HTTP library, Typhoeus, requires you to be explicit about
error handling. Unfortunately, this also means that we can't assume that
`response.success?` will be false only when the HTTP status code is not
a 200; it could also be false when the request fails (timeouts, TLS
verification issues, etc.). This commit adds explicit error handling for
these cases.

* Update samples
2016-08-30 10:28:07 +08:00
..
petstore Make connection failures visible with generated Ruby SDKs (#3640) 2016-08-30 10:28:07 +08:00
petstore.rb fix defeault rspec test for ruby, update security petstore 2016-07-14 18:22:01 +08:00