Sha256: 6a6b684501b65a70f9d0636059e0afe460005efaf99bbe1f2f8de870b63f6661
Contents?: true
Size: 321 Bytes
Versions: 18
Compression:
Stored size: 321 Bytes
Contents
require 'resque' module Demo module Job @queue = :default def self.perform(params) sleep 1 puts "Processed a job!" end end module FailingJob @queue = :failing def self.perform(params) sleep 1 raise 'not processable!' puts "Processed a job!" end end end
Version data entries
18 entries across 18 versions & 5 rubygems