class Clever::Types::Enrollment

Attributes

classroom_uid[R]
primary[R]
provider[R]
user_uid[R]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/clever/types/enrollment.rb, line 11
def initialize(attributes = {})
  @classroom_uid   = attributes['classroom_uid']
  @user_uid        = attributes['user_uid']
  @provider        = 'clever'
  @primary         = attributes.dig('primary') || false
end