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

  def perform(blob)
    blob.purge
  end
end