Class: Quebert::Controller::Base
- Inherits:
-
Object
- Object
- Quebert::Controller::Base
- Defined in:
- lib/quebert/controller/base.rb
Overview
The most Controller. Doesn’t even accept the queue as an argument because there’s nothing a job can do to be rescheduled, etc.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
Returns the value of attribute job.
Instance Method Summary collapse
-
#initialize(job) ⇒ Base
constructor
A new instance of Base.
- #perform ⇒ Object
Constructor Details
#initialize(job) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/quebert/controller/base.rb', line 8 def initialize(job) @job = job end |
Instance Attribute Details
#job ⇒ Object (readonly)
Returns the value of attribute job.
6 7 8 |
# File 'lib/quebert/controller/base.rb', line 6 def job @job end |