public Task Delete(IWebhookId webhook)
 {
     return(_restClient.RequestAsync(new WebhookDeleteRequest(webhook)));
 }
Пример #2
0
 public void Delete(IWebhookId webhook)
 {
     _restClient.Request(new WebhookDeleteRequest(webhook));
 }
Пример #3
0
 public Task Delete(IWebhookId webhook)
 {
     return _restClient.RequestAsync(new WebhookDeleteRequest(webhook));
 }
Пример #4
0
 public WebhookDeleteRequest(IWebhookId webhook) : 
     base(webhook, method: Method.DELETE)            
 {            
 }
Пример #5
0
 public WebhookDeleteRequest(IWebhookId webhook) :
     base(webhook, method: Method.DELETE)
 {
 }
Пример #6
0
 public void Delete(IWebhookId webhook)
 {
     _restClient.Request(new WebhookDeleteRequest(webhook));
 }
 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);
 }
Пример #8
0
 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);
 }