class Delayed::Plugin
Public Class Methods
callbacks(&block)
click to toggle source
# File lib/delayed/plugin.rb, line 7 def self.callbacks(&block) self.callback_block = block end
new()
click to toggle source
# File lib/delayed/plugin.rb, line 11 def initialize self.class.callback_block.call(Delayed.lifecycle) if self.class.callback_block end