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.10.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.10.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.9.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.8.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.7.4 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.7.3 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.7.2 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.7.1 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.7.0 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.6.6 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.6.5 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb
shopify-cli-2.6.4 lib/project_types/extension/models/specification_handlers/checkout_post_purchase.rb