Add support for StatusEventPayload (#1732)

* added support for StatusEventPayload

* Added test for StatusEventPayload and fixed serializer to return that event payload type.
This commit is contained in:
Itai Bar-Haim
2018-01-09 04:38:38 +02:00
committed by Ryan Gribble
parent bc7830fc6e
commit 9a29aa4f2f
3 changed files with 124 additions and 0 deletions
+2
View File
@@ -225,6 +225,8 @@ namespace Octokit.Internal
return typeof(PullRequestCommentPayload);
case "PushEvent":
return typeof(PushEventPayload);
case "StatusEvent":
return typeof(StatusEventPayload);
case "WatchEvent":
return typeof(StarredEventPayload);
}