You are here

public function DrupalMandrill::templates_update in Mandrill 7

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

Return value

array|MandrillException

File

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

Class

DrupalMandrill
Class DrupalMandrill.

Code

public function templates_update($name, $code) {
  return $this
    ->request('templates/update', array(
    'name' => $name,
    'code' => $code,
  ));
}