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

Method initClass

app/models/Tournament.js:13–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11module.exports = (Tournament = (function () {
12 Tournament = class Tournament extends CocoModel {
13 static initClass () {
14 this.className = 'Tournament'
15 this.schema = require('schemas/models/tournament.schema')
16 this.prototype.urlRoot = '/db/tournament'
17 }
18 }
19 Tournament.initClass()
20 return Tournament

Callers 1

Tournament.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected