aboutsummaryrefslogblamecommitdiffstats
path: root/activestorage/app/jobs/active_storage/analyze_job.rb
blob: 2a952f9f7428eea4f1654900b609cb38cc64e4bb (plain) (tree)
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 < ActiveStorage::BaseJob
  def perform(blob)
    blob.analyze
  end
end