Module: SearchAndResque::Callbacks
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/search_and_resque/callbacks.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#enqueue_elastic_search_delete ⇒ Object
59 60 61 |
# File 'lib/search_and_resque/callbacks.rb', line 59 def enqueue_elastic_search_delete self.class.enqueue_elastic_search_delete(elastic_search_id) end |
#enqueue_elastic_search_update ⇒ Object
53 54 55 56 57 |
# File 'lib/search_and_resque/callbacks.rb', line 53 def enqueue_elastic_search_update if should_update_elastic_search? self.class.enqueue_elastic_search_update(elastic_search_id) end end |