Module: Delayed::MessageSending

Defined in:
lib/dm-delayed-job/message_sending.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#send_later(method, *args) ⇒ Object



3
4
5
# File 'lib/dm-delayed-job/message_sending.rb', line 3

def send_later(method, *args)
  Delayed::Job.enqueue Delayed::PerformableMethod.new(self, method.to_sym, args)
end