Class: Pageflow::PruneAutoSnapshotsJob Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#perform(entry_id, options) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



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

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