Skip to content

Commit d6b1adb

Browse files
committed
Replace 'builder' with 'person', fix ruby typo
1 parent 5b2d42f commit d6b1adb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# blockscore-java [![Circle CI](https://circleci.com/gh/BlockScore/blockscore-java/tree/java-4.0.svg?style=shield)](https://circleci.com/gh/BlockScore/blockscore-java/tree/java-4.0)
22

3-
This is the official library for Ruby clients of the BlockScore API. [Click here to read the full documentation including code examples](http://docs.blockscore.com/v4.0/java/).
3+
This is the official library for Java clients of the BlockScore API. [Click here to read the full documentation including code examples](http://docs.blockscore.com/v4.0/java/).
44

55
## Requirements
66

@@ -36,16 +36,16 @@ address.setStreet1("1 Infinite Loop")
3636
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
3737
Date dateOfBirth = dateOfBirth = formatter.parse("1980-08-23");
3838

39-
Person.Builder builder = new Person.Builder(client);
40-
builder.setFirstName("John")
41-
.setMiddleName("Pearce")
42-
.setLastName("Doe")
43-
.setDocumentType("ssn")
44-
.setDocumentValue("0000")
45-
.setAddress(address)
46-
.setDateOfBirth(dateOfBirth);
39+
Person.Builder person = new Person.Builder(client);
40+
person.setFirstName("John")
41+
.setMiddleName("Pearce")
42+
.setLastName("Doe")
43+
.setDocumentType("ssn")
44+
.setDocumentValue("0000")
45+
.setAddress(address)
46+
.setDateOfBirth(dateOfBirth);
4747

48-
builder.create();
48+
person.create();
4949
```
5050

5151
## Generating javadocs

0 commit comments

Comments
 (0)