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

Method initClass

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

Source from the content-addressed store, hash-verified

20module.exports = (LevelSession = (function () {
21 LevelSession = class LevelSession extends CocoModel {
22 static initClass () {
23 this.className = 'LevelSession'
24 this.schema = require('schemas/models/level_session')
25 this.prototype.urlRoot = '/db/level.session'
26
27 this.fakeID = 'ateacherfakesessionidval'
28 }
29
30 initialize () {
31 super.initialize()

Callers 1

LevelSession.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected