MCPcopy Index your code
hub / github.com/github-tools/github / listOrgs

Method listOrgs

lib/User.js:80–82  ·  view source on GitHub ↗

* List the orgs that the user belongs to * @see https://developer.github.com/v3/orgs/#list-user-organizations * @param {Requestable.callback} [cb] - will receive the list of organizations * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

78 * @return {Promise} - the promise for the http request
79 */
80 listOrgs(cb) {
81 return this._request('GET', this.__getScopedUrl('orgs'), null, cb);
82 }
83
84 /**
85 * List followers of a user

Callers 1

user.spec.jsFile · 0.80

Calls 2

__getScopedUrlMethod · 0.95
_requestMethod · 0.80

Tested by

no test coverage detected