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

Method initClass

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

Source from the content-addressed store, hash-verified

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

Callers 1

TournamentMatch.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected