From 2d6d31a12de4b4fc0c246dc8d575678b6f04b269 Mon Sep 17 00:00:00 2001 From: Jonathan Jacob Date: Wed, 7 Aug 2024 14:09:57 +0200 Subject: [PATCH] readme fix: Shipment.all --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff3e78d..01fa959 100644 --- a/README.md +++ b/README.md @@ -81,11 +81,11 @@ shipment.tracking_url # -> http://track.shipcloud.io/uzdgu22z3ed12 You can get a list of all shipments from the shipcloud platform. Shipments can be filtered by providing optional parameters. For more information and a list of valid parameters see *[shipcloud API documentation on Shipments Index](https://developers.shipcloud.io/reference/#getting-a-list-of-shipments)* ```ruby -Shipcloud::Shipment.all( +Shipcloud::Shipment.all({ carrier: 'ups', per_page: 25, page: 2 -) +}) ``` `Shipment#all` will return an array of `Shipcloud::Shipment` objects, matching the given parameters.