Sha256: 916f57bdd850bf6b8812e73659150771b952499dd659a53ce1aca1cd4ac29abd

Contents?: true

Size: 731 Bytes

Versions: 52

Compression:

Stored size: 731 Bytes

Contents

# frozen_string_literal: true
require "base64"

module Extension
  module Models
    module SpecificationHandlers
      class CheckoutPostPurchase < Default
        PERMITTED_CONFIG_KEYS = [:metafields]
        RENDERER_PACKAGE_NAME = "@shopify/post-purchase-ui-extensions"

        def config(context)
          {
            **Features::ArgoConfig.parse_yaml(context, PERMITTED_CONFIG_KEYS),
            **argo.config(context, include_renderer_version: false),
          }
        end

        protected

        def argo
          Features::Argo.new(
            git_template: specification.features.argo.git_template,
            renderer_package_name: RENDERER_PACKAGE_NAME
          )
        end
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
shopify-cli-2.19.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.18.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.18.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.17.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.16.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.16.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.6 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.5 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.4 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.3 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.2 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.15.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.14.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.13.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.12.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.11.2 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.11.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.11.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.10.2 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb