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
@@ -12,7 +12,7 @@ namespace Octokit
{
public PullRequestCommit() { }
public PullRequestCommit(SignatureResponse author, Uri commentsUrl, Commit commit, SignatureResponse committer, Uri htmlUrl, IEnumerable<GitReference> parents, string sha, Uri url)
public PullRequestCommit(Committer author, Uri commentsUrl, Commit commit, Committer committer, Uri htmlUrl, IEnumerable<GitReference> parents, string sha, Uri url)
{
Ensure.ArgumentNotNull(parents, "parents");
@@ -26,13 +26,13 @@ namespace Octokit
Url = url;
}
public SignatureResponse Author { get; protected set; }
public Committer Author { get; protected set; }
public Uri CommentsUrl { get; protected set; }
public Commit Commit { get; protected set; }
public SignatureResponse Committer { get; protected set; }
public Committer Committer { get; protected set; }
public Uri HtmlUrl { get; protected set; }