Commit e7710cff by Karl Clement

Added webhookBody to email

parent bf01567a
...@@ -18,14 +18,14 @@ function Person(api) { ...@@ -18,14 +18,14 @@ function Person(api) {
* Retrieve contact information by e-mail. * Retrieve contact information by e-mail.
* *
* ```js * ```js
* fullcontact.person.email('opensource@observe.it', [queue], [webhookUrl], [webhookId], fn); * fullcontact.person.email('opensource@observe.it', [queue], [webhookUrl], [webhookId], [webhookBody], fn);
* ``` * ```
* *
* @returns {Person} * @returns {Person}
* @api public * @api public
*/ */
Person.prototype.email = function email() { Person.prototype.email = function email() {
var args = this.api.args(arguments, 'queue', 'webhookUrl', 'webhookId'); var args = this.api.args(arguments, 'queue', 'webhookUrl', 'webhookId', 'webhookBody');
this.send({ email: args.value }, args); this.send({ email: args.value }, args);
return this; return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment