Hello, started creating a new app using rails 7, ruby 3.2.0 using the latest version of shopify_app(21.4) gem. For some reason, I cannot access ShopifyAPI rest constants. When I open rails console and try to call it, it says that there is no such constant.
ShopifyAPI::Shop
uninitialized constant ShopifyAPI::Shop (NameError)
Looks like it is partially loaded, but resources are missing:
ShopifyAPI.constants
[:Context,
:Inflector,
:Webhooks,
:VERSION,
:AdminVersions,
:SUPPORTED_ADMIN_VERSIONS,
:LATEST_SUPPORTED_ADMIN_VERSION,
:Clients,
:Auth,
:Errors,
:Rest,
:Logger,
:Theme,
:Utils]
And the same with all resources. What may be the reason?