Class: Sidekiq::DelayExtensions::DelayedClass

Inherits:
GenericJob
  • Object
show all
Defined in:
lib/sidekiq/delay_extensions/class_methods.rb

Overview

Adds ‘delay`, `delay_for` and `delay_until` methods to all Classes to offload class method execution to Sidekiq.

Examples:

User.delay.delete_inactive
Wikipedia.delay.download_changes_for(Date.today)

Method Summary

Methods inherited from GenericJob

#_perform, #perform