Add helper for MailingList

This commit is contained in:
David Garcia 2019-01-29 23:23:22 +00:00
parent cbb13527b9
commit 787811d08b

View File

@ -121,6 +121,11 @@ final class Mailgun
return new Api\Message($this->httpClient, $this->requestBuilder, $this->hydrator); return new Api\Message($this->httpClient, $this->requestBuilder, $this->hydrator);
} }
public function mailingList(): API\MailingList
{
return new Api\MailingList($this->httpClient, $this->requestBuilder, $this->hydrator);
}
public function ips(): Api\Ip public function ips(): Api\Ip
{ {
return new Api\Ip($this->httpClient, $this->requestBuilder, $this->hydrator); return new Api\Ip($this->httpClient, $this->requestBuilder, $this->hydrator);