moved deployment client under Repository, updated errything related

This commit is contained in:
Brendan Forster
2014-02-18 21:34:28 +11:00
parent f6bb34e9c7
commit 5f124ee2e2
11 changed files with 43 additions and 9 deletions
+8
View File
@@ -24,6 +24,7 @@ namespace Octokit
{
CommitStatus = new CommitStatusClient(apiConnection);
RepoCollaborators = new RepoCollaboratorsClient(apiConnection);
Deployment = new DeploymentsClient(apiConnection);
}
/// <summary>
@@ -222,6 +223,13 @@ namespace Octokit
/// </remarks>
public IRepoCollaboratorsClient RepoCollaborators { get; private set; }
/// <summary>
/// Client for GitHub's Repository Deployments API
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/repos/deployment/">Collaborators API documentation</a> for more details
/// </remarks>
public IDeploymentsClient Deployment { get; private set; }
/// <summary>
/// Gets all the branches for the specified repository.