From a19f5bd10dfd7c9fce7353cbfbea11a898b720b7 Mon Sep 17 00:00:00 2001 From: Zack Kayser Date: Mon, 21 Oct 2024 10:56:24 -0400 Subject: [PATCH] Add doc on passing a hard-coded string --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 01ff314..83ee3dd 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,15 @@ MyResourceOverrideClient.request( end ``` +And finally, on a per-request basis, you can provide a hard-coded string as well rather than a 1-arity function: + +```elixir +MyResourceOverrideClient.request( + method: :get, + url: url, + resource_name_override: "get product_details_endpoint" +``` + ## Options # adapter