Class: Runestone::IndexingJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/runestone/indexing_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(record, indexing_method) ⇒ Object



4
5
6
# File 'lib/runestone/indexing_job.rb', line 4

def perform(record, indexing_method)
  record.public_send(indexing_method)
end