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

Method initClass

app/models/CourseInstance.js:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16module.exports = (CourseInstance = (function () {
17 CourseInstance = class CourseInstance extends CocoModel {
18 static initClass () {
19 this.className = 'CourseInstance'
20 this.schema = schema
21 this.prototype.urlRoot = '/db/course_instance'
22 }
23
24 addMember (userID, opts) {
25 const options = {

Callers 1

CourseInstance.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected