(user, options)
| 117 | } |
| 118 | |
| 119 | revoke (user, options) { |
| 120 | if (options == null) { options = {} } |
| 121 | options.url = _.result(this, 'url') + '/redeemers' |
| 122 | options.type = 'DELETE' |
| 123 | if (options.data == null) { options.data = {} } |
| 124 | options.data.userID = user.id || user |
| 125 | return this.fetch(options) |
| 126 | } |
| 127 | |
| 128 | convertToProduct () { |
| 129 | return { |
no test coverage detected