added missing property to IObservableUsersClient

This commit is contained in:
Brendan Forster
2014-02-07 11:28:49 +11:00
parent b080595657
commit f2c88a4d60
2 changed files with 18 additions and 0 deletions
@@ -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; }
}
}