* List the users who are members of the Team * @see https://developer.github.com/v3/orgs/teams/#list-team-members * @param {object} options - Parameters for listing team users * @param {string} [options.role=all] - can be one of: `all`, `maintainer`, or `member` * @param {Requestable
(options, cb)
| 72 | * @return {Promise} - the promise for the http request |
| 73 | */ |
| 74 | listMembers(options, cb) { |
| 75 | log(`Getting members of Team ${this.__teamId}`); |
| 76 | return this._requestAllPages(`/teams/${this.__teamId}/members`, options, cb); |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Get Team membership status for a user |
no test coverage detected