Class: Spotlight::ReindexJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Spotlight::ReindexJob
- Defined in:
- app/jobs/spotlight/reindex_job.rb
Overview
Reindex the given resources or exhibits
Instance Method Summary collapse
Instance Method Details
#perform(exhibit_or_resources) ⇒ Object
11 12 13 |
# File 'app/jobs/spotlight/reindex_job.rb', line 11 def perform(exhibit_or_resources) resource_list(exhibit_or_resources).each(&:reindex) end |