Sha256: 370c92ac43f2d62be9d70eaa308a7607134f0a7eacb65fa6ea68c143ce2aa53d
Contents?: true
Size: 769 Bytes
Versions: 3
Compression:
Stored size: 769 Bytes
Contents
# frozen_string_literal: true module Script module Layers module Application class EnableScript def self.call(ctx:, api_key:, shop_domain:, configuration:, extension_point_type:, title:) UI::PrintingSpinner.spin(ctx, ctx.message("script.application.enabling")) do |p_ctx, spinner| script_service = Infrastructure::ScriptService.new(ctx: p_ctx) script_service.enable( api_key: api_key, shop_domain: shop_domain, configuration: configuration, extension_point_type: extension_point_type, title: title ) spinner.update_title(p_ctx.message("script.application.enabled")) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems