public Task Delete(IWebhookId webhook) { return(_restClient.RequestAsync(new WebhookDeleteRequest(webhook))); }
public void Delete(IWebhookId webhook) { _restClient.Request(new WebhookDeleteRequest(webhook)); }
public Task Delete(IWebhookId webhook) { return _restClient.RequestAsync(new WebhookDeleteRequest(webhook)); }
public WebhookDeleteRequest(IWebhookId webhook) : base(webhook, method: Method.DELETE) { }
public WebhookRequest(IWebhookId webhook, string resource = "", Method method = Method.GET) : base("webhooks/{webhookId}/" + resource, method) { Guard.NotNull(webhook, "webhook"); AddParameter("webhookId", webhook.GetWebhookId(), ParameterType.UrlSegment); }