-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Epic: Pull RequestsApp supports pull requestsApp supports pull requestsStatus: AvailableIssue is availableIssue is available
Description
Add method getPullRequests to class GitHubService with parameters: config: Config and pullRequestsCount: Int. This method will return array of PullRequest objects containing attributes:
id: Intname: String - name of pull requesturl: String - web url to pull requeststate: Enum - state of pull request inProgress or merged or closedcratedAt: String - datetime string of pull request creationlastActivityAt: String - datetime string of pull request last activity (including merging or closing)
In this array will be objects with newest lastActivityAt parameter and length of array is equal to parameter pullRequestsCount.
During implementation you can use GilHub api documentation
Depends on #1
Metadata
Metadata
Assignees
Labels
Epic: Pull RequestsApp supports pull requestsApp supports pull requestsStatus: AvailableIssue is availableIssue is available