* List the gist's commits * @see https://developer.github.com/v3/gists/#list-gist-commits * @param {Requestable.callback} [cb] - will receive the array of commits * @return {Promise} - the Promise for the http request
(cb)
| 115 | * @return {Promise} - the Promise for the http request |
| 116 | */ |
| 117 | listCommits(cb) { |
| 118 | return this._requestAllPages(`/gists/${this.__id}/commits`, null, cb); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Fetch one of the gist's revision. |
no test coverage detected