Module: RestClient
- Defined in:
- lib/fir/patches/rest_client_fix.rb,
lib/fir/patches/default_headers.rb
Overview
Fix for rest-client 2.1.0 compatibility with Ruby 2.6/2.7 The bug: In some cases, @response is a String instead of a response object, causing NoMethodError when calling @response.code in http_code method.