New overloaded method IObservable<EmailAddress> GetAll(ApiOptions options) has been added and implemented on IObservableUserEmailsClient/ObservableUserEmailsClient.

This commit is contained in:
aedampir@gmail.com
2016-03-15 18:58:10 +07:00
parent bc3dc18045
commit 7a01f22ee9
2 changed files with 27 additions and 1 deletions
@@ -22,6 +22,17 @@ namespace Octokit.Reactive
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
IObservable<EmailAddress> GetAll();
/// <summary>
/// Gets all email addresses for the authenticated user.
/// </summary>
/// <remarks>
/// http://developer.github.com/v3/users/emails/#list-email-addresses-for-a-user
/// </remarks>
/// <param name="options">Options for changing the API response</param>
/// <returns>The <see cref="EmailAddress"/>es for the authenticated user.</returns>
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
IObservable<EmailAddress> GetAll(ApiOptions options);
/// <summary>
/// Adds email addresses for the authenticated user.
/// </summary>