Added integrationtests for the hooks and forks api.

Cleaned up the developed code to match some of the newer conventions.
This commit is contained in:
Kristian Hald
2015-03-22 22:21:17 +01:00
parent 9ab0e33bdc
commit 8f3827ee9b
28 changed files with 438 additions and 119 deletions
+12 -2
View File
@@ -1,4 +1,5 @@
using System;
using Octokit.Internal;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
@@ -8,11 +9,20 @@ namespace Octokit
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class EditRepositoryHook
{
[Parameter(Key = "config")]
public dynamic Config { get; set; }
[Parameter(Key = "events")]
public IEnumerable<string> Events { get; set; }
[Parameter(Key = "add_events")]
public IEnumerable<string> AddEvents { get; set; }
[Parameter(Key = "remove_events")]
public IEnumerable<string> RemoveEvents { get; set; }
public bool Active { get; set; }
[Parameter(Key = "active")]
public bool? Active { get; set; }
internal string DebuggerDisplay
{