class OneRoster::Types::Classroom

Attributes

course_number[R]
grades[R]
name[R]
period[R]
provider[R]
subjects[R]
term_end_date[R]
term_name[R]
term_start_date[R]
uid[R]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/types/classroom.rb, line 17
def initialize(attributes = {})
  @uid             = attributes['id']
  @name            = attributes['name']
  @course_number   = attributes['course_number']
  @period          = attributes['period']
  @grades          = attributes['grades']
  @subjects        = attributes['subjects']
  @term_name       = attributes['term_name']
  @term_start_date = attributes['term_start_date']
  @term_end_date   = attributes['term_end_date']
  @provider        = 'oneroster'
end