mirror of
https://github.com/plashchynski/crono.git
synced 2026-07-10 06:42:45 +02:00
Add basic Period class
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
module Periodicity
|
||||
module Extensions
|
||||
class ActiveJob
|
||||
def perform_every(period, *args)
|
||||
def self.perform_every(period, *args)
|
||||
@period = period
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user