diff --git a/src/Mailgun/Mailgun.php b/src/Mailgun/Mailgun.php index 08f8dc9..77c6e61 100644 --- a/src/Mailgun/Mailgun.php +++ b/src/Mailgun/Mailgun.php @@ -256,7 +256,7 @@ class Mailgun /** * @return Api\Stats */ - public function getStatsApi() + public function stats() { return new Api\Stats($this->httpClient, $this->requestBuilder, $this->deserializer); } @@ -264,7 +264,7 @@ class Mailgun /** * @return Api\Domain */ - public function getDomainApi() + public function domains() { return new Api\Domain($this->httpClient, $this->requestBuilder, $this->deserializer); }