* Delete a gist. * @see https://developer.github.com/v3/gists/#delete-a-gist * @param {Requestable.callback} [cb] - will receive true if the request succeeds * @return {Promise} - the Promise for the http request
(cb)
| 54 | * @return {Promise} - the Promise for the http request |
| 55 | */ |
| 56 | delete(cb) { |
| 57 | return this._request('DELETE', `/gists/${this.__id}`, null, cb); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Fork a gist. |