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

View File

@@ -113,10 +113,11 @@ namespace Octokit.Reactive
public IObservable<IReadOnlyList<RepositoryHook>> GetHooks(string owner, string repositoryName)
{
Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
Ensure.ArgumentNotNullOrEmptyString(repositoryName, "repositoryName");
throw new NotImplementedException("refactor");
//Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
//Ensure.ArgumentNotNullOrEmptyString(repositoryName, "repositoryName");
return _client.GetHooks(owner, repositoryName).ToObservable();
//return _client.GetHooks(owner, repositoryName).ToObservable();
}
}
}