Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ initClass
Method
initClass
app/models/Payment.js:13–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
module.exports = (Payment = (
function
() {
12
Payment =
class
Payment extends CocoModel {
13
static initClass () {
14
this.className =
'Payment'
15
this.prototype.urlRoot =
'/db/payment'
16
}
17
}
18
Payment.initClass()
19
return
Payment
Callers
1
Payment.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected