Sha256: ffc7268a83ad339033dcac74264341004d05231fe0d2ec1a0c06d20097743966
Contents?: true
Size: 456 Bytes
Versions: 18
Compression:
Stored size: 456 Bytes
Contents
module Extension module Tasks class FetchSpecifications include ShopifyCli::MethodObject property :context property :api_key def call response = ShopifyCli::PartnersAPI .query(context, "fetch_specifications", api_key: api_key) .dig("data", "extensionSpecifications") context.abort(context.message("tasks.errors.parse_error")) if response.nil? response end end end end
Version data entries
18 entries across 18 versions & 1 rubygems