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

Method initClass

app/models/Patch.js:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13module.exports = (PatchModel = (function () {
14 PatchModel = class PatchModel extends CocoModel {
15 static initClass () {
16 this.className = 'Patch'
17 this.schema = require('schemas/models/patch')
18 this.prototype.urlRoot = '/db/patch'
19 }
20
21 setStatus (status, options) {
22 if (options == null) { options = {} }

Callers 1

Patch.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected