Skip to content

Commit

Permalink
Minimal changes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
faktas2 committed Aug 8, 2023
1 parent a5300be commit 375650e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ To use the minFraud API, create a new `\MaxMind\MinFraud` object. The constructo
takes your MaxMind account ID, license key, and an optional `options` array as
arguments. This object is immutable. See the API documentation for the possible options.

For instance, to call the Sandbox environment instead of the minFraud 2 web service:
For instance, to use the Sandbox web service instead of the production web service, you can provide the host option:

```php
$mf = new MinFraud(1, 'ABCD567890', [ 'host' => 'sandbox.maxmind.com' ]);
Expand Down
5 changes: 3 additions & 2 deletions src/MinFraud.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ class MinFraud extends MinFraud\ServiceClient
* * `host` - The host to use when connecting to the web service.
* By default, the client connects to the production host. However,
* during testing and development, you can set this option to
* 'sandbox.maxmind.com' to use the sandbox host. The sandbox host
* allows you to experiment with the API without affecting your production data.
* 'sandbox.maxmind.com' to use the Sandbox environment's host. The
* sandbox allows you to experiment with the API without affecting your
* production data.
* * `userAgent` - The prefix for the User-Agent header to use in the
* request.
* * `caBundle` - The bundle of CA root certificates to use in the request.
Expand Down

0 comments on commit 375650e

Please sign in to comment.