Skip to content

Added membership checks. - #28

Closed
johnou wants to merge 2 commits into
hub4j:masterfrom
johnou:check-membership
Closed

Added membership checks.#28
johnou wants to merge 2 commits into
hub4j:masterfrom
johnou:check-membership

Conversation

@johnou

@johnou johnou commented Jan 6, 2013

Copy link
Copy Markdown
Collaborator

PR for #23

@buildhive

Copy link
Copy Markdown

Kohsuke Kawaguchi » github-api #50 SUCCESS
This pull request looks good
(what's this?)

@buildhive

Copy link
Copy Markdown

Kohsuke Kawaguchi » github-api #51 SUCCESS
This pull request looks good
(what's this?)

@kohsuke

kohsuke commented Jan 7, 2013

Copy link
Copy Markdown
Collaborator

In my mind, one of the design tenents is to prefer typed objects over String/int handles, so in that principle I feel those methods should take GHUser not String. This is in line with the publicize(GHUser) method.

Also, since the code is going to read org.isMember(user), the name should be changed to hasMember.

I'm making the follow up commit with that and merge this pull request with that change.

kohsuke added a commit that referenced this pull request Jan 7, 2013
@kohsuke

kohsuke commented Jan 7, 2013

Copy link
Copy Markdown
Collaborator

Merged by rebase in 2e074b5

@kohsuke kohsuke closed this Jan 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants