* Comment on a gist * @see https://developer.github.com/v3/gists/comments/#create-a-comment * @param {string} comment - the comment to add * @param {Requestable.callback} [cb] - the function that receives the API result * @return {Promise} - the Promise for the http request
(comment, cb)
| 158 | * @return {Promise} - the Promise for the http request |
| 159 | */ |
| 160 | createComment(comment, cb) { |
| 161 | return this._request('POST', `/gists/${this.__id}/comments`, {body: comment}, cb); |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Edit a comment on the gist |