I am trying to update the shopify_api gem version from 9.5.1 to 10.0.3 to our ruby based project.
But I had a problem using the available_calls method (also known as credit_left), which was present in the version 9.5.1.
I’m getting an error:
ShopifyAPI.available_calls> NoMethodError: undefined method `available_calls’ for ShopifyAPI: Module
Examining the changes in the gem code, I found that this method, along with its module, was removed.
So my question is whether this method was implemented in the new version of the library and what is it called now if it is present?
Thanks and best regards ![]()