You are here

function Mandrill::templates_update in Mandrill 6

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

Return value

array|Mandrill_Exception

File

./mandrill.class.php, line 210

Class

Mandrill

Code

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