Class: Helpstation::SuccessObserver
- Defined in:
- lib/helpstation/observer.rb
Class Method Summary collapse
-
.call(response) ⇒ Object
private
Perform the observer when the response is 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 successful
43 44 45 |
# File 'lib/helpstation/observer.rb', line 43 def self.call(response) super if response.success? end |