Sha256: 3f441bb88f68409af05e1358f005e4c5526443e4768aac6c7d51b41f2457e024

Contents?: true

Size: 739 Bytes

Versions: 2

Compression:

Stored size: 739 Bytes

Contents

module Extension
  module Tasks
    class FetchSpecifications
      include ShopifyCli::MethodObject

      def call
        [
          product_subscription_specification,
          checkout_post_purchase_specification,
        ]
      end

      private

      def product_subscription_specification
        {
          identifier: "product_subscription",
          features: {
            argo: {
              surface_area: "admin",
            },
          },
        }
      end

      def checkout_post_purchase_specification
        {
          identifier: "checkout_post_purchase",
          features: {
            argo: {
              surface_area: "checkout",
            },
          },
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shopify-cli-1.7.1 lib/project_types/extension/tasks/fetch_specifications.rb
shopify-cli-1.7.0 lib/project_types/extension/tasks/fetch_specifications.rb