updated IObservableReleasesClient to use ApiOptions, and added some tests

This commit is contained in:
Brendan Forster
2016-02-14 16:54:27 +11:00
parent 3a9dcc33f7
commit aa3ce0db92
5 changed files with 199 additions and 0 deletions
@@ -18,6 +18,19 @@ namespace Octokit.Reactive
/// <returns>The list of <see cref="Release"/>s for the specified repository.</returns>
IObservable<Release> GetAll(string owner, string name);
/// <summary>
/// Gets all <see cref="Release"/>s for the specified repository.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/repos/releases/#list-releases-for-a-repository">API documentation</a> for more information.
/// </remarks>
/// <param name="owner">The repository's owner</param>
/// <param name="name">The repository's name</param>
/// <param name="options">Options for changing the API response</param>
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
/// <returns>The list of <see cref="Release"/>s for the specified repository.</returns>
IObservable<Release> GetAll(string owner, string name, ApiOptions options);
/// <summary>
/// Gets a single <see cref="Release"/> for the specified repository.
/// </summary>