We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2bbd13 commit 7757427Copy full SHA for 7757427
README.md
@@ -416,11 +416,9 @@ Requests time out after 1 minute by default.
416
To set a custom timeout, configure the method call using the `timeout` method:
417
418
```java
419
-import com.lithic.api.models.Card;
+import com.lithic.api.models.CardListPage;
420
421
-Card card = client.cards().create(
422
- params, RequestOptions.builder().timeout(Duration.ofSeconds(30)).build()
423
-);
+CardListPage page = client.cards().list(RequestOptions.builder().timeout(Duration.ofSeconds(30)).build());
424
```
425
426
Or configure the default for all method calls at the client level:
0 commit comments