address code analysis issue

This commit is contained in:
Andy Cross
2014-01-21 07:22:44 +00:00
parent a70fc80f29
commit 3410d28ba0
2 changed files with 3 additions and 3 deletions
@@ -11,6 +11,7 @@ namespace Octokit.Reactive
/// </summary>
/// <remarks>See <a href="http://developer.github.com/v3/repos/hooks/#list">API documentation</a> for more information.</remarks>
/// <returns></returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Get", Justification = "This is ok; we're matching HTTP verbs not keyworks")]
IObservable<IReadOnlyList<RepositoryHook>> Get(string owner, string repositoryName);
/// <summary>
@@ -18,8 +18,7 @@ namespace Octokit.Reactive
_client = client.Repository;
_connection = client.Connection;
CommitStatus = new ObservableCommitStatusClient(client);
var apiConnection = new ApiConnection(_connection);
Hooks = new RepositoryHooksClient(apiConnection);
Hooks = new ObservableRepositoryHooksClient(client);
}
/// <summary>
@@ -115,7 +114,7 @@ namespace Octokit.Reactive
/// <summary>
/// Gets a client for GitHub's Repository Hooks
/// </summary>
public IRepositoryHooksClient Hooks
public IObservableRepositoryHooksClient Hooks
{
get; private set;
}