mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
complex -> simple
This commit is contained in:
parent
75e2788bbf
commit
fb4850bdf1
1 changed files with 2 additions and 1 deletions
|
@ -21,10 +21,11 @@ module Sidekiq
|
|||
#
|
||||
# Note that perform_async is a class method, perform is an instance method.
|
||||
module Worker
|
||||
attr_accessor :jid
|
||||
|
||||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
base.class_attribute :sidekiq_options_hash
|
||||
base.send(:attr_accessor, :jid)
|
||||
end
|
||||
|
||||
def logger
|
||||
|
|
Loading…
Add table
Reference in a new issue