ActiveJob is a module

This commit is contained in:
Dzmitry Plashchynski
2015-03-02 01:08:18 +02:00
parent 6f863ac4c6
commit 6bf168e627
2 changed files with 2 additions and 3 deletions

View File

@@ -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