Add method to get access to Email Validation

This commit is contained in:
David Garcia 2018-02-02 00:19:58 +00:00 committed by David Garcia
parent 961ae177fa
commit 5927cb162e

View File

@ -326,6 +326,14 @@ class Mailgun
return new Api\Domain($this->httpClient, $this->requestBuilder, $this->hydrator); return new Api\Domain($this->httpClient, $this->requestBuilder, $this->hydrator);
} }
/**
* @return Api\EmailValidation
*/
public function emailValidation()
{
return new Api\EmailValidation($this->httpClient, $this->requestBuilder, $this->hydrator);
}
/** /**
* @return Api\Event * @return Api\Event
*/ */