Spelling correction and move some code around

This commit is contained in:
Tim Clem
2012-04-27 17:55:08 -07:00
parent 13ca4778ab
commit e0f954c5f6

View File

@@ -10,7 +10,7 @@ namespace Burr.Tests
{
public Readme()
{
// create an anonlymous client
// create an anonymous client
var client = new GitHubClient();
// create a client with basic auth
@@ -19,8 +19,6 @@ namespace Burr.Tests
// create a client with an oauth token
client = new GitHubClient { Token = "oauthtoken" };
client.GetUserAsync();
//// Authorizations API
//var authorizations = client.Authorizations.All();
//var authorization = client.Authorizations.Get(1);
@@ -28,8 +26,6 @@ namespace Burr.Tests
//var a = client.Authorizations.Update(1, scopes: new[] { "user", "repo" }, "notes", "http://notes_url");
//var token = client.Authorizations.Create(new[] { "user", "repo" }, "notes", "http://notes_url");
//var gists = client.Gists.All();
//var gists = client.Gists.All("user");
//var gists = client.Gists.Public();
@@ -38,5 +34,11 @@ namespace Burr.Tests
//client.Gists.Create();
}
public async Task UserApi()
{
var client = new GitHubClient();
var user = await client.GetUserAsync("octocat");
}
}
}