You are here

public function DrupalMandrill::webhooks_update in Mandrill 7

@link https://mandrillapp.com/api/docs/webhooks.html#method=update

Return value

array|MandrillException

File

lib/mandrill.inc, line 352
Wrapper class around the Mandrill API.

Class

DrupalMandrill
Class DrupalMandrill.

Code

public function webhooks_update($id, $url, $events) {
  return $this
    ->request('webhooks/update', array(
    'id' => $id,
    'url' => $url,
    'events' => $events,
  ));
}