Refactor to api connections. Update Checker.
This commit is contained in:
@@ -20,6 +20,14 @@
|
||||
APIid = config.PWApiID;
|
||||
}
|
||||
|
||||
public APICredentials(Source.Config.Configuration practiceConfig)
|
||||
{
|
||||
UserID = practiceConfig.Get("pwuserid");
|
||||
Password = practiceConfig.Get("pwpassword");
|
||||
PracticeId = practiceConfig.Get("pwpracticeid");
|
||||
APIid = practiceConfig.Get("pwapiid");
|
||||
}
|
||||
|
||||
public string BuildJsonBodyContents()
|
||||
{
|
||||
return "'UserID':'" + UserID + "'," +
|
||||
|
||||
Reference in New Issue
Block a user