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

Method initClass

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

Source from the content-addressed store, hash-verified

14module.exports = (Payments = (function () {
15 Payments = class Payments extends CocoCollection {
16 static initClass () {
17 this.prototype.model = Payment
18 this.prototype.url = '/db/payment'
19 }
20
21 fetchByRecipient (recipientId, opts) {
22 if (opts == null) { opts = {} }

Callers 1

Payments.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected