create Credentials class to specify all credentials there.

This commit is contained in:
2020-02-11 16:42:05 +01:00
parent 2c1e54ade5
commit 0ac9c497ae
5 changed files with 55 additions and 6 deletions

View File

@ -25,3 +25,9 @@ int DynuAPI::refreshIp(std:: string ip) {
return 1;
}
}
void DynuAPI::init(std::string dynuApiKey, std::string domainId, std::string domainName) {
this->dynuapikey=dynuApiKey;
this->domainid=domainId;
this->domainname=domainName;
}