mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-14 00:11:23 +00:00
added more convenience methods
This commit is contained in:
@@ -76,6 +76,13 @@ public class GHPullRequest {
|
||||
return user;
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the pull request was sent.
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return getBase().getRepository();
|
||||
}
|
||||
|
||||
/**
|
||||
* This points to where the change should be pulled into,
|
||||
* but I'm not really sure what exactly it means.
|
||||
|
||||
Reference in New Issue
Block a user