Class: Pageflow::PruneAutoSnapshotsJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/pageflow/prune_auto_snapshots_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(entry_id, options) ⇒ Object



5
6
7
# File 'app/jobs/pageflow/prune_auto_snapshots_job.rb', line 5

def perform(entry_id, options)
  AutoSnapshotPruning.prune(Entry.find(entry_id), options.symbolize_keys)
end