Skip to content

Commit bb34a60

Browse files
committed
Remove the line options line, change example
1 parent f90cb52 commit bb34a60

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,18 @@ Page](https://maxmind.github.io/minfraud-api-java/) under the API tab.
4141
## Usage ##
4242

4343
To use this API, first create a new `WebServiceClient` object. The constructor
44-
takes your MaxMind account ID, license key, and an optional options array as
45-
arguments. For example:
44+
takes your MaxMind account ID and license key as arguments. For example:
4645

4746
```java
4847
WebServiceClient client = new WebServiceClient.Builder(6, "ABCD567890").build();
4948
```
5049

5150
If you would like to use the Sandbox environment, you can use the `host` method
52-
that belongs to the Bulder. For example,
51+
that belongs to the Builder. For example,
52+
5353
```java
54-
WebServiceClient.Builder.host("sandbox.maxmind.com")
54+
WebServiceClient client = new WebServiceClient.Builder(6, "ABCD567890")
55+
.host("sandbox.maxmind.com").build();
5556
```
5657

5758
Then create a new `Transaction` object. This represents the transaction that

0 commit comments

Comments
 (0)