Implement getPullRequests method