Module: OneRoster

Defined in:
lib/one_roster.rb,
lib/types/base.rb,
lib/types/term.rb,
lib/types/class.rb,
lib/types/course.rb,
lib/types/student.rb,
lib/types/teacher.rb,
lib/types/classroom.rb,
lib/types/enrollment.rb,
lib/one_roster/client.rb,
lib/types/application.rb,
lib/one_roster/version.rb,
lib/one_roster/response.rb,
lib/one_roster/paginator.rb,
lib/one_roster/connection.rb

Defined Under Namespace

Modules: Types Classes: Client, Connection, ConnectionError, DistrictNotFound, Paginator, Response

Constant Summary collapse

STUDENTS_ENDPOINT =
'ims/oneroster/v1p1/students'
TEACHERS_ENDPOINT =
'ims/oneroster/v1p1/teachers'
COURSES_ENDPOINT =
'ims/oneroster/v1p1/courses'
CLASSES_ENDPOINT =
'ims/oneroster/v1p1/classes'
ENROLLMENTS_ENDPOINT =
'ims/oneroster/v1p1/enrollments'
ACADEMIC_SESSIONS_ENDPOINT =
'ims/oneroster/v1p1/academicSessions'
RESPONSE_TYPE_MAP =
{
  'teachers'     => 'users',
  'academicSessions'        => 'academicSessions',
  'students'     => 'users',
  'courses'      => 'courses',
  'classes'      => 'classes',
  'enrollments'  => 'enrollments'
}.freeze
VERSION =
'2.3.9'
PAGE_LIMIT =
5_000