Sha256: e8adb23c29fc61f699de0e30b2040b1f15d013267ef4048de23c4cff27408198
Contents?: true
Size: 454 Bytes
Versions: 17
Compression:
Stored size: 454 Bytes
Contents
require 'resque' module DelayedPaperclip module Jobs class Resque @queue = :paperclip def self.enqueue_delayed_paperclip(instance_klass, instance_id, attachment_name) ::Resque.enqueue(self, instance_klass, instance_id, attachment_name) end def self.perform(instance_klass, instance_id, attachment_name) DelayedPaperclip.process_job(instance_klass, instance_id, attachment_name) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems