Class: ShopifyCLI::PartnersAPI::AppExtensions

Inherits:
Object
  • Object
show all
Defined in:
lib/shopify_cli/partners_api/app_extensions.rb,
lib/shopify_cli/partners_api/app_extensions/job.rb

Defined Under Namespace

Classes: Job

Class Method Summary collapse

Class Method Details

.fetch_apps_extensions(ctx, org, type) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/shopify_cli/partners_api/app_extensions.rb', line 11

def fetch_apps_extensions(ctx, org, type)
  jobs = apps(org).map { |app| AppExtensions::Job.new(ctx, app, type) }

  consume_jobs!(jobs)
  patch_apps_with_extensions!(jobs)

  org
end