* Edit a comment on the gist * @see https://developer.github.com/v3/gists/comments/#edit-a-comment * @param {number} comment - the id of the comment * @param {string} body - the new comment * @param {Requestable.callback} [cb] - will receive the modified comment * @return {Promis
(comment, body, cb)
| 170 | * @return {Promise} - the promise for the http request |
| 171 | */ |
| 172 | editComment(comment, body, cb) { |
| 173 | return this._request('PATCH', `/gists/${this.__id}/comments/${comment}`, {body: body}, cb); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Delete a comment on the gist. |