1 2 3 4 5 6 7
class ActiveFile::PurgeJob < ActiveJob::Base retry_on ActiveFile::StorageException def perform(blob) blob.purge end end