lib/reactor/workers/concerns/configuration.rb in reactor-0.16.0 vs lib/reactor/workers/concerns/configuration.rb in reactor-0.16.1
- old
+ new
@@ -1,14 +1,14 @@
module Reactor
module Workers
module Configuration
extend ActiveSupport::Concern
+ CONFIG = [:source, :action, :async, :delay, :deprecated]
+
included do
include Sidekiq::Worker
-
- CONFIG = [:source, :action, :async, :delay, :deprecated]
-
+
class_attribute *CONFIG
end
class_methods do
def configured?
\ No newline at end of file