From 21fffdb93764e7abe152684bcfc8296c9b9f0338 Mon Sep 17 00:00:00 2001 From: ahmard Date: Wed, 20 Dec 2023 01:41:43 +0100 Subject: [PATCH] chore(readme): updated docs --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2fbeb4b..351726c 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,11 @@ Mail Router PHP Client ```php '); +$client = Application::client(authToken: ''); // List $neurons = $client->list(); @@ -58,11 +58,11 @@ use GuzzleHttp\Exception\GuzzleException; use SpiralOver\Mailer\Client\Dto\Mailbox; use SpiralOver\Mailer\Client\Dto\MailData; use SpiralOver\Mailer\Client\Exceptions\RequestFailureException; -use SpiralOver\Mailer\Client\Application; +use SpiralOver\Mailer\Client\Mailer; require __DIR__ . '/vendor/autoload.php'; -$client = Application::client(authToken: ''); +$client = Mailer::client(authToken: ''); $response = $application->send( appId: '2eb91dc3-b8ad-4d41-a207-963cec055fab', mails: [