Class: ActiveStorage::PurgeBlobWorker
- Inherits:
-
Object
- Object
- ActiveStorage::PurgeBlobWorker
- Includes:
- Sidekiq::Worker
- Defined in:
- app/jobs/active_storage/purge_blob_worker.rb
Instance Method Summary collapse
Instance Method Details
#perform(blob_id) ⇒ Object
6 7 8 |
# File 'app/jobs/active_storage/purge_blob_worker.rb', line 6 def perform(blob_id) ActiveStorage::Blob.where(id: blob_id).first&.purge end |