Added Observable classes and got started on observable tests

This commit is contained in:
Jasmine
2016-01-28 14:29:08 -05:00
parent fd91d72ce3
commit 19f0bf389e
18 changed files with 246 additions and 2 deletions
@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Octokit.Clients
{
public class UserAdministrationClient : ApiClient, IUserAdministrationClient
{
public UserAdministrationClient(IApiConnection apiConnection)
: base(apiConnection)
{
}
public Task Demote(string login)
{
throw new NotImplementedException();
}
public Task Promote(string login)
{
Ensure.ArgumentNotNullOrEmptyString(login, "login");
var endpoint = ApiUrls.UserAdministration(login);
return ApiConnection.Put(endpoint);
}
public Task Suspend(string login)
{
throw new NotImplementedException();
}
public Task Unsuspend(string login)
{
throw new NotImplementedException();
}
}
}