mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
added missing property to IObservableUsersClient
This commit is contained in:
@@ -27,5 +27,13 @@ namespace Octokit.Reactive
|
||||
/// <exception cref="AuthorizationException">Thrown if the client is not authenticated.</exception>
|
||||
/// <returns>A <see cref="User"/></returns>
|
||||
IObservable<User> Update(UserUpdate user);
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Followers API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/followers/">Followers API documentation</a> for more information.
|
||||
///</remarks>
|
||||
IObservableFollowersClient Followers { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace Octokit.Reactive
|
||||
Ensure.ArgumentNotNull(client, "client");
|
||||
|
||||
_client = client.User;
|
||||
|
||||
Followers = new ObservableFollowersClient(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -47,5 +49,13 @@ namespace Octokit.Reactive
|
||||
|
||||
return _client.Update(user).ToObservable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A client for GitHub's User Followers API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="http://developer.github.com/v3/users/followers/">Followers API documentation</a> for more information.
|
||||
///</remarks>
|
||||
public IObservableFollowersClient Followers { get; private set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user