From 5aedf6f631dc086fe9245d83da31e0d94ad3f91a Mon Sep 17 00:00:00 2001 From: Brandur Date: Sat, 12 Apr 2025 18:04:59 -0700 Subject: [PATCH] One more replacement of `SimpleArgs` -> `SortArgs` One more set missed during #46. My mistake not getting these the first time. I'm not sure how I missed them. --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 3d9d851..c063482 100644 --- a/docs/README.md +++ b/docs/README.md @@ -99,8 +99,8 @@ Or with `InsertManyParams`, which may include insertion options: ```ruby num_inserted = client.insert_many([ - River::InsertManyParams.new(SimpleArgs.new(strings: ["whale", "tiger", "bear"]), insert_opts: River::InsertOpts.new(max_attempts: 5)), - River::InsertManyParams.new(SimpleArgs.new(strings: ["lion", "dolphin", "eagle"]), insert_opts: River::InsertOpts.new(queue: "high_priority")) + River::InsertManyParams.new(SortArgs.new(strings: ["whale", "tiger", "bear"]), insert_opts: River::InsertOpts.new(max_attempts: 5)), + River::InsertManyParams.new(SortArgs.new(strings: ["lion", "dolphin", "eagle"]), insert_opts: River::InsertOpts.new(queue: "high_priority")) ]) ```