/// <summary> /// Initializes a new instance of the <see cref="ParasutProvider"/> class. /// </summary> /// <param name="url">The url<see cref="string"/>.</param> /// <param name="version">The version<see cref="string"/>.</param> /// <param name="companyId">The companyId<see cref="string"/>.</param> /// <param name="clientId">The clientId<see cref="string"/>.</param> /// <param name="clientSecret">The clientSecret<see cref="string"/>.</param> /// <param name="username">The username<see cref="string"/>.</param> /// <param name="password">The password<see cref="string"/>.</param> public ParasutProvider(string url = "https://api.parasut.com", string version = "v4", string companyId = null, string clientId = null, string clientSecret = null, string username = null, string password = null) { Client = new ParasutClient(url, version, companyId, clientId, clientSecret, username, password); Url = url; }
public ParasutProvider(string url = null, string version = null, string clientId = null, string clientSecret = null, string username = null, string password = null) { Client = new ParasutClient(url, version, clientId, clientSecret, username, password); Url = Client.Url; }