public ThrottleTests() { // add username / password _subject = new ApiThrottle("", "", "http://api.theysay.io", 10); }
private void Ribbon1_Load(object sender, RibbonUIEventArgs e) { _throttleApi = new ApiThrottle(Excel.Default.Username, Excel.Default.Password, Excel.Default.ApiEndpoint, Excel.Default.WarnThreshold); }