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

Method initClass

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected