W3cubDocs

/Ruby on Rails 5.2

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 7
def perform(blob)
  blob.purge
end

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