Replace SignatureResponse and CommitEntity with Committer

A recent PR added CommitEntity but we already had
SignatureResponse expressly for this purpose.

So this commit renames SignatureResponse to Committer
and removes CommitEntity and replaces it with Committer.
This commit is contained in:
Haacked
2015-09-28 00:32:04 -07:00
parent 1cea52eefa
commit b2d6e15d48
18 changed files with 93 additions and 105 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ namespace Octokit
{
public Commit() { }
public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, SignatureResponse author, SignatureResponse committer, GitReference tree, IEnumerable<GitReference> parents, int commentCount)
public Commit(string url, string label, string @ref, string sha, User user, Repository repository, string message, Committer author, Committer committer, GitReference tree, IEnumerable<GitReference> parents, int commentCount)
: base(url, label, @ref, sha, user, repository)
{
Ensure.ArgumentNotNull(parents, "parents");
@@ -25,9 +25,9 @@ namespace Octokit
public string Message { get; protected set; }
public SignatureResponse Author { get; protected set; }
public Committer Author { get; protected set; }
public SignatureResponse Committer { get; protected set; }
public Committer Committer { get; protected set; }
public GitReference Tree { get; protected set; }