Class: Pageflow::PruneAutoSnapshotsJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Pageflow::PruneAutoSnapshotsJob
- 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, ) AutoSnapshotPruning.prune(Entry.find(entry_id), .symbolize_keys) end |