* Delete a comment on the gist. * @see https://developer.github.com/v3/gists/comments/#delete-a-comment * @param {number} comment - the id of the comment * @param {Requestable.callback} [cb] - will receive true if the request succeeds * @return {Promise} - the Promise for the http re
(comment, cb)
| 181 | * @return {Promise} - the Promise for the http request |
| 182 | */ |
| 183 | deleteComment(comment, cb) { |
| 184 | return this._request('DELETE', `/gists/${this.__id}/comments/${comment}`, null, cb); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | module.exports = Gist; |