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

Method initClass

app/collections/CodeLogs.js:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14module.exports = (CodeLogCollection = (function () {
15 CodeLogCollection = class CodeLogCollection extends CocoCollection {
16 static initClass () {
17 this.prototype.url = '/db/codelogs'
18 this.prototype.model = CodeLog
19 }
20
21 fetchByUserID (userID, options) {
22 if (options == null) { options = {} }

Callers 1

CodeLogs.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected