1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/active_file/purge_job.rb
David Heinemeier Hansson dd50144bcd First sketching
2017-06-30 19:12:58 +02:00

7 lines
131 B
Ruby

class ActiveFile::PurgeJob < ActiveJob::Base
retry_on ActiveFile::StorageException
def perform(blob)
blob.purge
end
end