Class: ActiveStorage::TransformJob

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

Instance Method Summary collapse

Instance Method Details

#perform(blob, transformations) ⇒ Object



9
10
11
# File 'app/jobs/active_storage/transform_job.rb', line 9

def perform(blob, transformations)
  blob.variant(transformations).processed
end