Sha256: 9ca1771773d6ad399a9b0443cd6bb448ba910b13dbe3d4a8a98b1cc9cc71afaf

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module ShopifyApp
  class ScripttagsManagerJob < ActiveJob::Base
    def perform(params = {})
      shop_name = params.fetch(:shop_name)
      token = params.fetch(:token)

      manager = ScripttagsManager.new(shop_name, token)
      manager.create_scripttags
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shopify_app-7.0.2 lib/shopify_app/scripttags_manager_job.rb
shopify_app-7.0.1 lib/shopify_app/scripttags_manager_job.rb