Class: Delayed::TrackedDelayProxy

Inherits:
DelayProxy
  • Object
show all
Defined in:
lib/tracked/delayed_job/tracked_delay_proxy.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



3
4
5
6
7
# File 'lib/tracked/delayed_job/tracked_delay_proxy.rb', line 3

def method_missing(method, *args)
  job = super
  tracked_job = ::Tracked::Job.generate(job.id)
  tracked_job
end