Shopify / shopify-api-ruby

ShopifyAPI is a lightweight gem for accessing the Shopify admin REST and GraphQL web services.
MIT License
1.06k stars 471 forks source link

Convert json_response_body_names to array #1208

Closed mllemango closed 1 year ago

mllemango commented 1 year ago

Description

Fixes https://github.com/Shopify/shopify-api-ruby/issues/1018 Fixes https://github.com/Shopify/shopify-api-ruby/issues/1190

Allowing multiple response body names to be passed in so we can check and build a response based on what key matches the for the class

How has this been tested?

Created a fresh app and pre-populated test store and made sure we can create a fulfillment request without sorbet error Get a response back from CustomerAddress.all

Checklist: