aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/jobs/active_storage/analyze_job.rb
blob: a11a73d030f0f336bd6853512e773958340f5212 (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

# Provides asynchronous analysis of ActiveStorage::Blob records via ActiveStorage::Blob#analyze_later.
class ActiveStorage::AnalyzeJob < ActiveJob::Base
  def perform(blob)
    blob.analyze
  end
end