Class: QPush::Server::Job
- Extended by:
- Forwardable
- Includes:
- ObjectValidator::Validate, JobHelpers
- Defined in:
- lib/qpush/server/jobs.rb
Instance Attribute Summary
Attributes inherited from Job::Base
#args, #created_at, #cron, #failed, #id, #klass, #namespace, #priority, #retry_max, #run_time, #start_at, #total_fail, #total_success
Instance Method Summary collapse
-
#initialize(options) ⇒ Job
constructor
A new instance of Job.
Methods included from JobHelpers
#cron_at, #cron_job?, #dead_job?, #delay_job?, #delay_until, #mark_failed, #mark_success, #perform_job?, #retry_at, #retry_job?
Methods inherited from Job::Base
Constructor Details
#initialize(options) ⇒ Job
Returns a new instance of Job.
55 56 57 58 |
# File 'lib/qpush/server/jobs.rb', line 55 def initialize() super @api = ApiWrapper.new(self) end |