/// <summary> /// Give your approval on a pull request. You can only approve a request on behalf of the authenticated account. /// This returns the participant object for the current user. /// </summary> /// <returns></returns> public PullRequestInfo ApprovePullRequest() { return(_repositoriesEndPoint.ApprovePullRequest(_accountName, _slug, _pullRequestId)); }
internal PullRequestInfo ApprovePullRequest(int pullRequestId) { return(_repositoriesEndPoint.ApprovePullRequest(_accountName, _slug, pullRequestId)); }
internal object ApprovePullRequest(int pullRequestId) { return(_repositoriesEndPoint.ApprovePullRequest(_accountName, _repository, pullRequestId)); }
/// <summary> /// Give your approval on a pull request. You can only approve a request on behalf of the authenticated account. /// This returns the participant object for the current user. /// </summary> /// <returns></returns> public object ApprovePullRequest() { return(_repositoriesEndPoint.ApprovePullRequest(_accountName, _repository, _pullRequestId)); }