mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-26 11:21:42 +01:00
ActiveJob is a module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module Periodicity
|
||||
module Extensions
|
||||
class ActiveJob
|
||||
def self.perform_every(period, *args)
|
||||
module ActiveJob
|
||||
def perform_every(period, *args)
|
||||
@period = Period.new(period, *args)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user