Module: RabbitJobs::Job::ClassMethods
- Defined in:
- lib/rabbit_jobs/job.rb
Instance Attribute Summary collapse
-
#rj_expires_in ⇒ Object
Returns the value of attribute rj_expires_in.
Instance Method Summary collapse
-
#expires_in(seconds) ⇒ Object
DSL method for jobs.
Instance Attribute Details
#rj_expires_in ⇒ Object
Returns the value of attribute rj_expires_in.
64 65 66 |
# File 'lib/rabbit_jobs/job.rb', line 64 def rj_expires_in @rj_expires_in end |
Instance Method Details
#expires_in(seconds) ⇒ Object
DSL method for jobs
67 68 69 |
# File 'lib/rabbit_jobs/job.rb', line 67 def expires_in(seconds) @rj_expires_in = seconds end |