class ActiveStorage::PurgeJob

Parent:
ActiveStorage::BaseJob

Provides asynchronous purging of ActiveStorage::Blob records via ActiveStorage::Blob#purge_later.

Public Instance Methods

perform(blob) Show source
# File activestorage/app/jobs/active_storage/purge_job.rb, line 10
def perform(blob)
  blob.purge
end

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.