aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_vault/purge_job.rb
blob: d7634af2bb2c683cd01107b7ec66c5e5acfbcbbd (plain) (blame)
1
2
3
4
5
6
7
class ActiveVault::PurgeJob < ActiveJob::Base
  retry_on ActiveVault::StorageException

  def perform(blob)
    blob.purge
  end
end