Class: ActiveStorage::AnalyzeJob

Inherits:
BaseJob
  • Object
show all
Defined in:
app/jobs/active_storage/analyze_job.rb

Overview

Provides asynchronous analysis of ActiveStorage::Blob records via ActiveStorage::Blob#analyze_later.

Instance Method Summary collapse

Instance Method Details

#perform(blob) ⇒ Object



10
11
12
# File 'app/jobs/active_storage/analyze_job.rb', line 10

def perform(blob)
  blob.analyze
end