abstract class TCal::Calendar

Overview

Classes that build calendar events from the active_period of MBTA Alerts.

Calendars have the common behavior of simplifying and combining alert time periods into "all-day" date periods. This allows for a cleaner presentation in most cases.

Note: Currently alerts are fetched internally as part of initialization, as there is no need yet to split out or customize the API interactions.

Direct Known Subclasses

Defined in:

t_cal/calendar.cr

Constructors

Constructor Detail

def self.new #

[View source]