mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-06-01 00:00:30 -04:00
The Faraday::Response object does not respond to #code. The correct message is #status. It seems this case was previously unhandled by the test suite as there was no case for the server responding "success" with an invalid JSON body.