From f2c88a4d603324c69ebc4a900c6577f0afd1dc19 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Fri, 7 Feb 2014 11:28:49 +1100 Subject: [PATCH] added missing property to IObservableUsersClient --- Octokit.Reactive/Clients/IObservableUsersClient.cs | 8 ++++++++ Octokit.Reactive/Clients/ObservableUsersClient.cs | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/Octokit.Reactive/Clients/IObservableUsersClient.cs b/Octokit.Reactive/Clients/IObservableUsersClient.cs index 465739a2..857c688c 100644 --- a/Octokit.Reactive/Clients/IObservableUsersClient.cs +++ b/Octokit.Reactive/Clients/IObservableUsersClient.cs @@ -27,5 +27,13 @@ namespace Octokit.Reactive /// Thrown if the client is not authenticated. /// A IObservable Update(UserUpdate user); + + /// + /// A client for GitHub's User Followers API + /// + /// + /// See the Followers API documentation for more information. + /// + IObservableFollowersClient Followers { get; } } } diff --git a/Octokit.Reactive/Clients/ObservableUsersClient.cs b/Octokit.Reactive/Clients/ObservableUsersClient.cs index 1648d8cc..332cf657 100644 --- a/Octokit.Reactive/Clients/ObservableUsersClient.cs +++ b/Octokit.Reactive/Clients/ObservableUsersClient.cs @@ -12,6 +12,8 @@ namespace Octokit.Reactive Ensure.ArgumentNotNull(client, "client"); _client = client.User; + + Followers = new ObservableFollowersClient(client); } /// @@ -47,5 +49,13 @@ namespace Octokit.Reactive return _client.Update(user).ToObservable(); } + + /// + /// A client for GitHub's User Followers API + /// + /// + /// See the Followers API documentation for more information. + /// + public IObservableFollowersClient Followers { get; private set; } } }