Class: Extension::Features::Runtimes::CheckoutUiExtension
- Defined in:
- lib/project_types/extension/features/runtimes/checkout_ui_extension.rb
Constant Summary collapse
- CHECKOUT_UI_EXTENSIONS_RUN =
"@shopify/checkout-ui-extensions-run"
- IDENTIFIERS =
[ "CHECKOUT_ARGO_EXTENSION", "CHECKOUT_UI_EXTENSION", ]
- AVAILABLE_FLAGS =
[ :port, :public_url, :resource_url, :shop, ]
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#active_runtime?(cli_package, identifier) ⇒ Boolean
23 24 25 |
# File 'lib/project_types/extension/features/runtimes/checkout_ui_extension.rb', line 23 def active_runtime?(cli_package, identifier) cli_package.name == CHECKOUT_UI_EXTENSIONS_RUN && IDENTIFIERS.include?(identifier) end |
#available_flags ⇒ Object
19 20 21 |
# File 'lib/project_types/extension/features/runtimes/checkout_ui_extension.rb', line 19 def available_flags AVAILABLE_FLAGS end |