Class: Helpstation::ErrorObserver
- Defined in:
- lib/helpstation/observer.rb
Class Method Summary collapse
-
.call(response) ⇒ Object
private
Perform the observer when the response is not successful.
Methods inherited from Observer
Constructor Details
This class inherits a constructor from Helpstation::Observer
Class Method Details
.call(response) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Perform the observer when the response is not successful
55 56 57 |
# File 'lib/helpstation/observer.rb', line 55 def self.call(response) super if !response.success? end |