class ReminderHandler

Defined in:

handlers/reminder_handler.cr

Constant Summary

ALLOWED_CALLBACK_HOSTS = ["discord-bot", "localhost", "127.0.0.1"]

Allowed callback URL hosts to prevent SSRF

Log = JosieHealth::Utils::Log
POLL_INTERVAL = 10.seconds
Recurrence = JosieHealth::Utils::Recurrence

Constructors

Instance Method Summary

Constructor Detail

def self.new(redis_client : RedisClient) #

Instance Method Detail

def handle(request : HTTP::Request, response : HTTP::Server::Response) #