Sha256: bb1d91ae267956e9b80bc59f1a5f161bb7d351cb4eee07089f65f5ba89a3108c
Contents?: true
Size: 651 Bytes
Versions: 62
Compression:
Stored size: 651 Bytes
Contents
module Extension module Features module Runtimes class CheckoutUiExtension < Base CHECKOUT_UI_EXTENSIONS_RUN = "@shopify/checkout-ui-extensions-run" IDENTIFIERS = [ "CHECKOUT_ARGO_EXTENSION", "CHECKOUT_UI_EXTENSION", ] AVAILABLE_FLAGS = [ :port, :public_url, :resource_url, :shop, ] def available_flags AVAILABLE_FLAGS end def active_runtime?(cli_package, identifier) cli_package.name == CHECKOUT_UI_EXTENSIONS_RUN && IDENTIFIERS.include?(identifier) end end end end end
Version data entries
62 entries across 62 versions & 1 rubygems