* Star a gist. * @see https://developer.github.com/v3/gists/#star-a-gist * @param {Requestable.callback} [cb] - will receive true if the request is successful * @return {Promise} - the Promise for the http request
(cb)
| 85 | * @return {Promise} - the Promise for the http request |
| 86 | */ |
| 87 | star(cb) { |
| 88 | return this._request('PUT', `/gists/${this.__id}/star`, null, cb); |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Unstar a gist. |
no test coverage detected