Sha256: 4efa132598485455bd4425b1ab27bfaf98090b05a605dcb310b440a25a0d2bba
Contents?: true
Size: 1.87 KB
Versions: 2
Compression:
Stored size: 1.87 KB
Contents
class UWaterlooAPI module Routes # Route Methods def self.route(route) @@routes ||= [] @@routes.push route end # Routes route '/foodservices/menu' route '/foodservices/notes' route '/foodservices/diets' route '/foodservices/outlets' route '/foodservices/locations' route '/foodservices/watcard' route '/foodservices/announcements' route '/foodservices/products/{product_id}' route '/foodservices/{year}/{week}/menu' route '/foodservices/{year}/{week}/notes' route '/foodservices/{year}/{week}/announcements' route '/courses/{subject}' route '/courses/{course_id}' route '/courses/{class_number}/schedule' route '/courses/{subject}/{catalog_number}' route '/courses/{subject}/{catalog_number}/schedule' route '/courses/{subject}/{catalog_number}/prerequisites' route '/courses/{subject}/{catalog_number}/examschedule' route '/events' route '/events/{site}' route '/events/{site}/{id}' route '/events/holidays' route '/news' route '/news/{site}' route '/news/{site}/{id}' route '/weather/current' route '/terms/list' route '/terms/{term}/examschedule' route '/terms/{term}/{subject}/schedule' route '/terms/{term}/{subject}/{catalog_number}/schedule' route '/terms/{term}/infosessions' route '/resources/tutors' route '/resources/printers' route '/resources/infosessions' route '/resources/goosewatch' route '/codes/units' route '/codes/terms' route '/codes/groups' route '/codes/subjects' route '/codes/instructions' route '/buildings/list' route '/buildings/{building_code}' route '/buildings/{building}/{room}/courses' route '/api/usage' route '/api/services' route '/api/methods' route '/api/versions' route '/api/changelog' route '/server/time' route '/server/codes' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uwaterlooapi-0.1.0 | lib/uwaterlooapi/routes.rb |
uwaterlooapi-0.0.4 | lib/uwaterlooapi/routes.rb |