lib/tennis/worker/generic.rb in tennis-jobs-0.1.0 vs lib/tennis/worker/generic.rb in tennis-jobs-0.2.0
- old
+ new
@@ -2,13 +2,15 @@
module Worker
module Generic
autoload :BeforeHook, "tennis/worker/generic/before_hook"
autoload :Serialize, "tennis/worker/generic/serialize"
+ autoload :Options, "tennis/worker/generic/options"
def self.included(base)
base.extend BeforeHook
base.extend Serialize
+ base.extend Options
base.extend DSL
base.worker = Class.new do
@@parent = base
include Sneakers::Worker