Class: ResquePaperclipJob
- Inherits:
-
Object
- Object
- ResquePaperclipJob
- Defined in:
- lib/delayed/jobs/resque_paperclip_job.rb
Class Method Summary collapse
Class Method Details
.perform(instance_klass, instance_id, attachment_name) ⇒ Object
4 5 6 7 8 |
# File 'lib/delayed/jobs/resque_paperclip_job.rb', line 4 def self.perform(instance_klass, instance_id, ) instance = instance_klass.constantize.find(instance_id) instance.send().reprocess! end |