Fix builder calls to new API

Update the example with the right API https://github.com/square/moshi/blob/master/moshi/src/main/java/com/squareup/moshi/Moshi.java#L155
This commit is contained in:
Benoît Quenaudon
2017-08-01 12:58:20 +09:00
committed by GitHub
parent b4ad3b9789
commit 5125fc2f27

View File

@@ -7,7 +7,7 @@ To use, supply an instance of your desired converter when building your `Moshi`
```java ```java
Moshi moshi = new Moshi.Builder() Moshi moshi = new Moshi.Builder()
.addConverterFactory(Date.class, new Rfc3339DateJsonAdapter()) .add(Date.class, new Rfc3339DateJsonAdapter())
//etc //etc
.build(); .build();
``` ```