public function DrupalMandrill::templates_add in Mandrill 7
@link https://mandrillapp.com/api/docs/templates.html#method=add
Return value
array|MandrillException
File
- lib/
mandrill.inc, line 253 - Wrapper class around the Mandrill API.
Class
- DrupalMandrill
- Class DrupalMandrill.
Code
public function templates_add($name, $code) {
return $this
->request('templates/add', array(
'name' => $name,
'code' => $code,
));
}