mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-15 22:14:28 +02:00
15 lines
384 B
Ruby
15 lines
384 B
Ruby
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
|
|
# License: GNU AGPL-3+ (see full text in LICENSE file)
|
|
|
|
require "notifier/processor"
|
|
|
|
module Notifier
|
|
class << self
|
|
def process_all(configuration = nil)
|
|
processor = Processor.new(configuration)
|
|
processor.process_expires_soon
|
|
processor.process_recurrent_failures
|
|
end
|
|
end
|
|
end
|