From 3e6753843b70772be3a282d97a81aec51e69a834 Mon Sep 17 00:00:00 2001 From: Zoey Lan Date: Tue, 26 Sep 2023 14:45:09 -0600 Subject: [PATCH] Add blurb on REST resource versions --- docs/usage/rest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/usage/rest.md b/docs/usage/rest.md index 8d967aa9..78c1d6a0 100644 --- a/docs/usage/rest.md +++ b/docs/usage/rest.md @@ -40,6 +40,8 @@ To instantiate a session, we recommend you either use the `shopify_app` if worki ## Using REST Resources We provide a templated class library to access REST resources similar to `ActiveResource`. Format of the methods closely resemble our [REST API schema](https://shopify.dev/docs/api/admin-rest). +The version of REST resource that's loaded and used is set from [`ShopifyAPI::Context.setup`](https://github.com/Shopify/shopify-api-ruby/blob/main/README.md#setup-shopify-context) + ### Instantiation Create an instance of the REST resource you'd like to use and optionally provide the following parameters. #### Constructor parameters