class Quebert::Controller::Base
The most Controller
. Doesn't even accept the queue as an argument because there's nothing a job can do to be rescheduled, etc.
Attributes
job[R]
Public Class Methods
new(job)
click to toggle source
# File lib/quebert/controller/base.rb, line 8 def initialize(job) @job = job end
Public Instance Methods
perform()
click to toggle source
# File lib/quebert/controller/base.rb, line 12 def perform begin job.perform! rescue Job::Action # Nothing to do chief! end end