Refactor to a RepositoryHooksClient

This commit is contained in:
Andy Cross
2014-01-20 14:36:36 +00:00
parent 8223bade57
commit a13c9fa3cc
12 changed files with 195 additions and 20 deletions
+3 -4
View File
@@ -137,10 +137,9 @@ namespace Octokit
ICommitStatusClient CommitStatus { get; }
/// <summary>
/// Gets the list of hooks defined for a repository
/// A client for GitHub's Repository Hooks API.
/// </summary>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#json-http">API documentation</a> for more information.</remarks>
/// <returns></returns>
Task<IReadOnlyList<RepositoryHook>> GetHooks(string owner, string repositoryName);
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/">API documentation</a> for more information.</remarks>
IRepositoryHooksClient Hooks { get; }
}
}