Class: Bright::SisApi::OneRoster::InfiniteCampus

Inherits:
Bright::SisApi::OneRoster show all
Defined in:
lib/bright/sis_apis/one_roster/infinite_campus.rb

Constant Summary

Constants inherited from Bright::SisApi::OneRoster

DEMOGRAPHICS_CONVERSION

Instance Attribute Summary

Attributes inherited from Bright::SisApi::OneRoster

#connection_options, #school_years_cache, #schools_cache

Instance Method Summary collapse

Methods inherited from Bright::SisApi::OneRoster

#api_version, #create_student, #get_contact_by_api_id, #get_school, #get_school_by_api_id, #get_schools, #get_student, #get_student_by_api_id, #get_students, #initialize, #request, #update_student

Methods inherited from Base

#connection_retry_wrapper, #filter_students_by_params

Constructor Details

This class inherits a constructor from Bright::SisApi::OneRoster

Instance Method Details

#convert_to_user_data(user_params, bright_type: "Student") ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/bright/sis_apis/one_roster/infinite_campus.rb', line 4

def convert_to_user_data(user_params, bright_type: "Student")
  user_data_hsh = super

  unless user_params["userMasterIdentifier"].blank?
    user_data_hsh[:state_student_id] = user_params["userMasterIdentifier"]
  end

  user_data_hsh
end