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

Method initClass

app/collections/CourseInstances.js:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14module.exports = (CourseInstances = (function () {
15 CourseInstances = class CourseInstances extends CocoCollection {
16 static initClass () {
17 this.prototype.model = CourseInstance
18 this.prototype.url = '/db/course_instance'
19 }
20
21 fetchByOwner (ownerID, options) {
22 if (options == null) { options = {} }

Callers 1

CourseInstances.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected