Skip to content

Commit

Permalink
added listing org. users
Browse files Browse the repository at this point in the history
  • Loading branch information
stromajer committed Dec 12, 2015
1 parent d9e3389 commit d5c2a45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions github.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@
this.orgs = function(cb) {
_request('GET', '/user/orgs', null, cb);
};

// List members of given organization
// -------
this.orgMembers = function (orgId, cb) {
_request('GET', '/organizations/' + orgId + '/members', options, cb);
};

// List authenticated user's gists
// -------
Expand Down

0 comments on commit d5c2a45

Please sign in to comment.