class ActiveStorage::PurgeJob
Provides asynchronous purging of ActiveStorage::Blob
records via ActiveStorage::Blob#purge_later
.
Inherits From
-
class
ActiveStorage::
BaseJob
Public instance methods
Source code GitHub
# File activestorage/app/jobs/active_storage/purge_job.rb, line 10
def perform(blob)
blob.purge
end