* Fetch a gist. * @see https://developer.github.com/v3/gists/#get-a-single-gist * @param {Requestable.callback} [cb] - will receive the gist * @return {Promise} - the Promise for the http request
(cb)
| 29 | * @return {Promise} - the Promise for the http request |
| 30 | */ |
| 31 | read(cb) { |
| 32 | return this._request('GET', `/gists/${this.__id}`, null, cb); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Create a new gist. |
no test coverage detected