MCPcopy Create free account
hub / github.com/codecombat/codecombat / fetchForClassroom

Method fetchForClassroom

app/collections/CourseInstances.js:29–35  ·  view source on GitHub ↗
(classroomID, options)

Source from the content-addressed store, hash-verified

27 }
28
29 fetchForClassroom (classroomID, options) {
30 if (options == null) { options = {} }
31 classroomID = classroomID.id || classroomID // handle if they pass in a user
32 if (options.data == null) { options.data = {} }
33 options.data.classroomID = classroomID
34 return this.fetch(options)
35 }
36
37 fetchByClassrooms (classroomIds, options) {
38 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected