Class: Catalogcat::ExtendedRaiseFootrestErrors
- Inherits:
-
Footrest::RaiseFootrestErrors
- Object
- Footrest::RaiseFootrestErrors
- Catalogcat::ExtendedRaiseFootrestErrors
- Defined in:
- lib/catalogcat/client.rb
Instance Method Summary collapse
Instance Method Details
#on_complete(response) ⇒ Object
33 34 35 36 37 |
# File 'lib/catalogcat/client.rb', line 33 def on_complete(response) super key = response[:status].to_i raise ERROR_MAP[key.floor(-2)], response if key >= 400 end |