Top Level Namespace

Defined Under Namespace

Modules: API, ApiHelper, ApplicationHelper, DateRefinements, ETLBase, ETLConsumer, ETLProducer, Enum, ErrorsHelper, Initializer, Interactors, Interpipe, Kernel, Sequel, Sirius, SiriusApi, UrlHelper Classes: AssignPeople, CancelScheduleException, CleanupRemovedParallels, CleanupRemovedRecords, CleanupRemovedTimetableSlots, ConvertCourseEvents, ConvertCourses, ConvertExams, ConvertParallels, ConvertPeople, ConvertRooms, ConvertTTS, Course, DateFilteredDataset, Day, DebugPipeline, EndOfData, Event, EventDestination, EventsCleaner, EventsRepresenter, ExtractItems, FacultySemester, FacultySemesterQuery, FetchParallelStudents, FetchResource, FetchStudents, FetchUpdatedParallels, FormatEventsIcal, ImportCourseEventStudents, ImportCourseEvents, ImportExamStudents, ImportExams, ImportStudents, ImportUpdatedParallels, ImportedExam, KOSapiInteractor, LoadParallels, MultiSearchIndex, PageMeta, Parallel, PeopleRepresenter, Period, Person, PlannedSemesterPeriod, PlannedTimetableSlot, RelativeMoveScheduleException, RenumberEvents, Room, RoomChangeScheduleException, ScheduleException, ScheduleExceptionsRepresenter, SearchResultsRepresenter, SemesterDaysRepresenter, SemesterPeriod, SemesterPeriodDatesQuery, SemesterWeeksRepresenter, SemestersRepresenter, Sync, TeacherChangeScheduleException, TeacherSource, TeacherTimetableSlotImport, TeacherTimetableSlotSource, TeacherTimetableSlotTransformer, TimetableSlot, UpdateParallelStudents

Constant Summary collapse

Routes =
Rack::Builder.new do
  use Pliny::Middleware::RescueErrors, raise: Config.raise_errors?
  use Pliny::Middleware::CORS
  use Rack::Timeout if Config.timeout > 0
  use Raven::Rack if Config.sentry_dsn
  use Rack::Deflater
  use Rack::MethodOverride  # use Rack::SSL if Config.force_ssl?


  run API::Base
end