Module: Quebert::AsyncSender::ActiveRecord::InstanceMethods

Defined in:
lib/quebert/async_sender/active_record.rb

Instance Method Summary collapse

Instance Method Details

#async_send(meth, *args) ⇒ Object

The meat of dealing with ActiveRecord instances.



19
20
21
# File 'lib/quebert/async_sender/active_record.rb', line 19

def async_send(meth, *args)
  RecordJob.new(self, meth, *args).enqueue
end