Class: ProcessImage

Inherits:
Object
  • Object
show all
Extended by:
HerokuResqueAutoScale
Defined in:
app/jobs/process_image.rb

Class Method Summary collapse

Methods included from HerokuResqueAutoScale

after_enqueue_scale_up, after_perform_scale_down

Class Method Details

.perform(attributes) ⇒ Object



6
7
8
# File 'app/jobs/process_image.rb', line 6

def self.perform(attributes)
  Uploadbox.const_get(attributes['upload_class_name']).find(attributes['id']).process
end