Esempio n. 1
0
 public function updateWebhook(Webhook $webhook)
 {
     $command = $this->getCommand('UpdateWebhook', array('webhookId' => $webhook->getId(), 'edit_webhook' => array('name' => $webhook->getName(), 'callbackUrl' => $webhook->getCallbackUrl(), 'listenedEvents' => $webhook->getListenedEvents(), 'listenedSources' => $webhook->getListenedSources())));
     return $this->execute($command);
 }