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

Method fetchForClassroomAndCourse

app/collections/Levels.js:30–34  ·  view source on GitHub ↗
(classroomID, courseID, options)

Source from the content-addressed store, hash-verified

28 }
29
30 fetchForClassroomAndCourse (classroomID, courseID, options) {
31 if (options == null) { options = {} }
32 options.url = `/db/classroom/${classroomID}/courses/${courseID}/levels`
33 return this.fetch(options)
34 }
35
36 fetchForCampaign (campaignSlug, options) {
37 if (options == null) { options = {} }

Callers 4

loadStatsMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected