class Chewy::Strategy::ActiveJob::Worker

Public Instance Methods

perform(type, ids, options = {}) click to toggle source
# File lib/chewy/strategy/active_job.rb, line 16
def perform(type, ids, options = {})
  options[:refresh] = !Chewy.disable_refresh_async if Chewy.disable_refresh_async
  type.constantize.import!(ids, **options)
end