Sha256: c451792b9bc5bb7ae99cc04e942f0a5e45dc6063c58c4a5e904aa11d901ea1d1
Contents?: true
Size: 481 Bytes
Versions: 4
Compression:
Stored size: 481 Bytes
Contents
module Qe module Worker module InstanceMethods def initialize(options) @options = HashWithIndifferentAccess.new(options) end # Return options that were provided when # adding job to the queue. def options @options end # Set before hook. def before end # Set after hook. def after end # Set the error hook. def error(error) raise error end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
qe-0.4.0 | lib/qe/worker/instance_methods.rb |
qe-0.3.5 | lib/qe/worker/instance_methods.rb |
qe-0.3.4 | lib/qe/worker/instance_methods.rb |
qe-0.3.3 | lib/qe/worker/instance_methods.rb |