Class: AlgoliaSearch::AlgoliaJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/algoliasearch/algolia_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(record, method) ⇒ Object



5
6
7
# File 'lib/algoliasearch/algolia_job.rb', line 5

def perform(record, method)
  record.send(method)
end