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

Method unsubscribeRecipient

app/models/User.js:1269–1273  ·  view source on GitHub ↗
(id, options = {})

Source from the content-addressed store, hash-verified

1267 }
1268
1269 unsubscribeRecipient (id, options = {}) {
1270 options.url = _.result(this, 'url') + `/stripe/recipients/${id}`
1271 options.method = 'DELETE'
1272 return $.ajax(options)
1273 }
1274
1275 age () { return utils.yearsSinceMonth(this.get('birthday')) }
1276

Callers 1

unsubscribeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected