Class: NowAndLater::Enqueue::WithDelayedJob

Inherits:
Service
  • Object
show all
Defined in:
lib/now_and_later/enqueue/with_delayed_job.rb

Instance Method Summary collapse

Methods inherited from Service

can_find, #initialize, later, now, takes

Constructor Details

This class inherits a constructor from NowAndLater::Service

Instance Method Details

#runObject



5
6
7
# File 'lib/now_and_later/enqueue/with_delayed_job.rb', line 5

def run
  Delayed::Job.enqueue @service.new(*args)
end