1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Surface the value so we can perform Redis ops with the job

This commit is contained in:
Mike Perham 2016-03-09 14:10:15 -08:00
parent 69c9d66740
commit c7f2f5f93d

View file

@ -277,6 +277,7 @@ module Sidekiq
# #
class Job class Job
attr_reader :item attr_reader :item
attr_reader :value
def initialize(item, queue_name=nil) def initialize(item, queue_name=nil)
@value = item @value = item