Added Task Put(Uri uri)

This commit is contained in:
Haroon
2013-11-14 08:30:02 +00:00
parent 5d68dcfb55
commit 2ac500ba2c
2 changed files with 19 additions and 0 deletions
+12
View File
@@ -166,6 +166,18 @@ namespace Octokit
return response.BodyAsObject;
}
/// <summary>
/// Puts the API object at the specified URI.
/// </summary>
/// <param name="uri">URI of the API resource to put</param>
/// <returns>A <see cref="Task"/> for the request's execution.</returns>
public Task Delete(Uri uri)
{
Ensure.ArgumentNotNull(uri, "uri");
return Connection.PutAsync(uri);
}
/// <summary>
/// Creates or replaces the API resource at the specified URI.
/// </summary>