Z.Lms (Portico/Z v0.1.0)

Functions to perform actions in EXPLO's LMS (Learning Management System)

Currently we're using Canvas (Library.Canvas) as the LMS, but this could change over time, so we abstract LMS functions as best we can. The buck stops here for "knowing that the LMS is Canvas."

Link to this section Summary

Functions

Create an LMS user associated with a particular program.

Link to this section Functions

Link to this function

create_user(program_code, portico_contact_id)

Create an LMS user associated with a particular program.

We look up programs by program_code (eg JUN, ONLINE, etc.)

Will return {:error, :account_or_contact_not_found} if there's not both a matching program and a matching contact.