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.36.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.35.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.34.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.33.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.33.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.32.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.32.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.31.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.30.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.29.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.28.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.27.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.26.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.25.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.24.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.23.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.22.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.21.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.20.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.20.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb