Skip to content

Commit

Permalink
Request object can have public setter
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangribble committed Dec 14, 2015
1 parent 74b2c13 commit a729ab7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Octokit/Models/Request/BranchUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ public class BranchUpdate
/// <summary>
/// The <see cref="BranchProtection"/> details
/// </summary>
public BranchProtection Protection { get; private set; }

public BranchUpdate()
{
Protection = new BranchProtection();
}
public BranchProtection Protection { get; set; }

internal string DebuggerDisplay
{
Expand Down

0 comments on commit a729ab7

Please sign in to comment.