StoreIDTopGateAPI.ApiWrapper.ApiWrapper C# (CSharp) Method

ApiWrapper() public method

public ApiWrapper ( String baseUrl ) : System
baseUrl String
return System
        public ApiWrapper(String baseUrl)
        {
            // make sure baseUrl does not end with a slash
            if (baseUrl.EndsWith("/"))
            {
                this.baseUrl = baseUrl.Substring(0, baseUrl.Length - 1);
            }
            else
            {
                this.baseUrl = baseUrl;
            }
        }