class TCal::Handlers::Feed

Overview

HTTP handler that serves an iCal feed based on MBTA Alerts. Handles the request if the path is /alerts.ics or /alerts.txt, with the "extension" determining the response content-type.

Included Modules

Defined in:

t_cal/handlers/feed.cr

Constructors

Constructor Detail

def self.new #

Creates a handler instance.


[View source]