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

Method initClass

app/models/LevelSystem.js:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14module.exports = (LevelSystem = (function () {
15 LevelSystem = class LevelSystem extends CocoModel {
16 static initClass () {
17 this.className = 'LevelSystem'
18 this.schema = require('schemas/models/level_system')
19 this.prototype.urlRoot = '/db/level.system'
20 this.prototype.editableByArtisans = true
21 }
22
23 set (key, val, options) {
24 let attrs

Callers 1

LevelSystem.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected