Class: BridgeCache::Jobs::CleanupJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/lib/bridge_cache/jobs/cleanup_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(model, row_ids) ⇒ Object



4
5
6
# File 'app/lib/bridge_cache/jobs/cleanup_job.rb', line 4

def perform(model, row_ids)
  "BridgeCache::#{model.camelcase}".constantize.cleanup(row_ids)
end