Sha256: ac934563146ffd0265a2a5c784ce8f926dc7dc3b1cc460dd3389529c9a2e1da8

Contents?: true

Size: 400 Bytes

Versions: 49

Compression:

Stored size: 400 Bytes

Contents

module ShopifyCLI
  module Services
    module App
      class OpenService < BaseService
        attr_reader :project, :context

        def initialize(project:, context:)
          @project = project
          @context = context
          super()
        end

        def call
          context.open_url!("#{project.env.host}/login?shop=#{project.env.shop}")
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
shopify-cli-2.19.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.18.1 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.18.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.17.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.16.1 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.16.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.6 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.5 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.4 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.3 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.2 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.1 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.15.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.14.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.13.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.12.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.11.2 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.11.1 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.11.0 lib/shopify_cli/services/app/open_service.rb
shopify-cli-2.10.2 lib/shopify_cli/services/app/open_service.rb