* Gets the list of starred gists for the user * @see https://developer.github.com/v3/gists/#list-starred-gists * @param {Object} [options={}] - any options to refine the search * @param {Requestable.callback} [cb] - will receive the list of gists * @return {Promise} - the promise for
(options, cb)
| 160 | * @return {Promise} - the promise for the http request |
| 161 | */ |
| 162 | listStarredGists(options, cb) { |
| 163 | options = options || {}; |
| 164 | if (typeof options === 'function') { |
| 165 | cb = options; |
| 166 | options = {}; |
| 167 | } |
| 168 | options.since = this._dateToISO(options.since); |
| 169 | return this._request('GET', '/gists/starred', options, cb); |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * List email addresses for a user |
no test coverage detected