21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-28 23:10:49 +02:00
chexpire/app/services/notifier.rb

13 lines
354 B
Ruby
Raw Normal View History

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
2018-06-04 14:06:37 +02:00
module Notifier
class << self
def process_all(configuration = nil)
processor = Processor.new(configuration)
processor.process_expires_soon
processor.process_recurrent_failures
end
end
end