create classes for standalone reaction client and CommitCommentReaction

This commit is contained in:
maddin2016
2016-05-27 15:17:56 +02:00
parent 9f22e17fb5
commit 06fdace3b4
12 changed files with 157 additions and 2 deletions

View File

@@ -99,6 +99,7 @@ namespace Octokit
Search = new SearchClient(apiConnection);
SshKey = new SshKeysClient(apiConnection);
User = new UsersClient(apiConnection);
Reaction = new ReactionsClient(apiConnection);
}
/// <summary>
@@ -305,6 +306,14 @@ namespace Octokit
/// </remarks>
public IEnterpriseClient Enterprise { get; private set; }
/// <summary>
/// Access GitHub's Reactions API
/// </summary>
/// <remarks>
/// Refer to the API documentation for more information: https://developer.github.com/v3/reactions/
/// </remarks>
public IReactionsClient Reaction { get; private set; }
static Uri FixUpBaseUri(Uri uri)
{
Ensure.ArgumentNotNull(uri, "uri");