Class: Quebert::AsyncSender::ActiveRecord::RecordJob

Inherits:
Job
  • Object
show all
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_TTR, Job::Delete, Job::Release, Job::Retry, Job::Timeout

Instance Attribute Summary

Attributes inherited from Job

#args, #delay, #priority, #queue, #ttr

Instance Method Summary collapse

Methods inherited from Job

#around_bury, #around_delete, #around_release, backend, #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



6
7
8
# File 'lib/quebert/async_sender/active_record.rb', line 6

def perform(record, meth, *args)
  record.send(meth, *args)
end