Class: Quebert::AsyncSender::ActiveRecord::RecordJob
- Defined in:
- lib/quebert/async_sender/active_record.rb
Constant Summary
Constants inherited from Job
Job::Action, Job::Bury, Job::DEFAULT_JOB_DELAY, Job::DEFAULT_JOB_PRIORITY, Job::DEFAULT_JOB_TTR, Job::Delete, Job::NotImplemented, Job::QUEBERT_TTR_BUFFER, Job::Release, Job::Timeout
Instance Attribute Summary
Attributes inherited from Job
#args, #delay, #priority, #ttr
Instance Method Summary collapse
Methods inherited from Job
backend, backend=, #enqueue, from_json, #initialize, #perform!, #to_json
Constructor Details
This class inherits a constructor from Quebert::Job
Instance Method Details
#perform(record, meth, *args) ⇒ Object
7 8 9 |
# File 'lib/quebert/async_sender/active_record.rb', line 7 def perform(record, meth, *args) record.send(meth, *args) end |