Added default for status = 200 on RestObject constructor
This commit is contained in:
parent
c7a9ee32cd
commit
e5a078957f
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ namespace Rests
|
||||||
set { this["response"] = value; }
|
set { this["response"] = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public RestObject(string status)
|
public RestObject(string status = "200")
|
||||||
{
|
{
|
||||||
Status = status;
|
Status = status;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue