/// <summary> /// Creates an instance of <see cref="IRestClient"/>. /// </summary> /// <param name="apiBaseUrl">The base URL to be used by the client</param> /// <returns>An instance of <see cref="IRestClient"/>.</returns> public virtual IRestClient CreateRestClient(string apiBaseUrl) { return(_client ?? (_client = new WebApiClient(apiBaseUrl))); }