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

Method initClass

app/models/Clan.js:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12module.exports = (Clan = (function () {
13 Clan = class Clan extends CocoModel {
14 static initClass () {
15 this.className = 'Clan'
16 this.schema = schema
17 this.prototype.urlRoot = '/db/clan'
18 }
19
20 static getAutoClanSlug (idOrSlug, kind) {
21 return `autoclan-${kind}-${idOrSlug}`

Callers 1

Clan.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected