/// <summary>
 /// Give your approval on a commit.
 /// You can only approve a comment on behalf of the authenticated account.  This returns the participant object for the current user.
 /// </summary>
 /// <param name="revision">The SHA1 of the commit.</param>
 /// <returns></returns>
 public UserRole ApproveCommit(string revision)
 {
     return(_repositoriesEndPoint.ApproveCommit(_accountName, _slug, revision));
 }
Esempio n. 2
0
 /// <summary>
 /// Give your approval on a commit.
 /// You can only approve a comment on behalf of the authenticated account.  This returns the participant object for the current user.
 /// </summary>
 /// <param name="revision">The commit's SHA1.</param>
 /// <returns></returns>
 public object ApproveCommit(string revision)
 {
     return(_repositoriesEndPoint.ApproveCommit(_accountName, _repository, revision));
 }
 /// <summary>
 /// Give your approval on a commit.
 /// You can only approve a comment on behalf of the authenticated account.  This returns the participant object for the current user.
 /// </summary>
 /// <param name="revision">The commit's SHA1.</param>
 /// <returns></returns>
 public void ApproveCommit(string revision)
 {
     _repositoriesEndPoint.ApproveCommit(_accountName, _repository, revision);
 }