Sha256: 30d34568005100aac96fe9bd714c8b92b9fd6ad223dc8e1dafccb2392f86c653

Contents?: true

Size: 527 Bytes

Versions: 4

Compression:

Stored size: 527 Bytes

Contents

# frozen_string_literal: true
require 'base64'

module Extension
  module Models
    module Types
      class ProductSubscription < Models::Type
        IDENTIFIER = 'PRODUCT_SUBSCRIPTION'

        def graphql_identifier
          'SUBSCRIPTION_MANAGEMENT'
        end

        def create(directory_name, context)
          Features::Argo::Admin.new.create(directory_name, IDENTIFIER, context)
        end

        def config(context)
          Features::Argo::Admin.new.config(context)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shopify-cli-1.5.0 lib/project_types/extension/models/types/product_subscription.rb
shopify-cli-1.4.1 lib/project_types/extension/models/types/product_subscription.rb
shopify-cli-1.4.0 lib/project_types/extension/models/types/product_subscription.rb
shopify-cli-1.3.1 lib/project_types/extension/models/types/product_subscription.rb