Method: Faraday::Error#response_headers
- Defined in:
- lib/faraday/error.rb
#response_headers ⇒ Object
37 38 39 40 41 |
# File 'lib/faraday/error.rb', line 37 def response_headers return unless @response @response.is_a?(Faraday::Response) ? @response.headers : @response[:headers] end |