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_vault/purge_job.rb

7 lines
133 B
Ruby

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