Class: OpenWeather::Errors::Fault
- Inherits:
-
Faraday::ClientError
- Object
- Faraday::ClientError
- OpenWeather::Errors::Fault
- Defined in:
- lib/open_weather/errors/fault.rb
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
10 11 12 |
# File 'lib/open_weather/errors/fault.rb', line 10 def headers response[:headers] end |
#message ⇒ Object
6 7 8 |
# File 'lib/open_weather/errors/fault.rb', line 6 def response[:body]['message'] || super end |