Skip to content

Commit b8a5632

Browse files
authored
Update README.md
1 parent 1e0025d commit b8a5632

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ If you need request faking for your tests, Saloon has it out of the box alongsid
2020
```php
2121
<?php
2222

23-
use App\Http\Saloon\Requests\GetForgeServerRequest;
23+
$connector = new ForgeConnector('api-token');
2424

25-
$request = new GetForgeServerRequest(serverId: '123456');
26-
27-
$response = $request->send();
25+
$response = $connector->send(new GetServersRequest);
2826
$data = $response->json();
2927
```
3028

0 commit comments

Comments
 (0)