Class: Sidekiq::Portal::Job Private
- Inherits:
-
Object
- Object
- Sidekiq::Portal::Job
- Defined in:
- lib/portal/job.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: Builder
Instance Attribute Summary collapse
- #klass ⇒ Class readonly
- #timeline ⇒ Sidekiq::Portal::JobManager::Timeline readonly private
Instance Method Summary collapse
-
#initialize(klass, timeline) ⇒ Job
constructor
private
A new instance of Job.
Constructor Details
#initialize(klass, timeline) ⇒ Job
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Job.
26 27 28 29 30 |
# File 'lib/portal/job.rb', line 26 def initialize(klass, timeline) @klass = klass @timeline = timeline @lock = Sidekiq::Portal::Lock.new end |
Instance Attribute Details
#klass ⇒ Class (readonly)
12 13 14 |
# File 'lib/portal/job.rb', line 12 def klass @klass end |
#timeline ⇒ Sidekiq::Portal::JobManager::Timeline (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/portal/job.rb', line 18 def timeline @timeline end |