Rename to Octokit to be consistent with other API libs

GitHub is naming all of the libraries Octokit for their respective
platforms
This commit is contained in:
Haacked
2013-01-29 14:00:27 -08:00
parent 4370788c34
commit 997e955f38
124 changed files with 225 additions and 226 deletions
@@ -0,0 +1,32 @@
using System;
using System.Reactive.Threading.Tasks;
namespace Octokit.Reactive.Clients
{
public class ObservableUsersClient : IObservableUsersClient
{
readonly IUsersClient client;
public ObservableUsersClient(IUsersClient client)
{
Ensure.ArgumentNotNull(client, "client");
this.client = client;
}
public IObservable<User> Get(string login)
{
return client.Get(login).ToObservable();
}
public IObservable<User> Current()
{
return client.Current().ToObservable();
}
public IObservable<User> Update(UserUpdate user)
{
return client.Update(user).ToObservable();
}
}
}