Class: Backgrounded::Handler::DelayedJobHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/backgrounded/handler/delayed_job_handler.rb

Overview

invoke the operation in the background using delayed job see github.com/tobi/delayed_job/tree/master

Instance Method Summary collapse

Instance Method Details

#request(object, method, *args) ⇒ Object



8
9
10
# File 'lib/backgrounded/handler/delayed_job_handler.rb', line 8

def request(object, method, *args)
  object.send_later(method.to_sym, *args)
end