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

Method dashedPPC

app/views/account/PrepaidView.js:82–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 dashedPPC () {
83 if (this.ppc.length === 12) {
84 return `${this.ppc.slice(0, 4)}-${this.ppc.slice(4, 8)}-${this.ppc.slice(8)}`
85 }
86 return this.ppc
87 }
88
89 onClickStartSubscription () {
90 return this.openModalView(new SubscribeModal())

Callers 4

initializeMethod · 0.95
confirmRedeemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected