Class: ShopifyApp::ScriptTagsManagerJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- ShopifyApp::ScriptTagsManagerJob
- Defined in:
- app/jobs/shopify_app/script_tags_manager_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(shop_domain:, shop_token:, script_tags:) ⇒ Object
9 10 11 12 13 14 |
# File 'app/jobs/shopify_app/script_tags_manager_job.rb', line 9 def perform(shop_domain:, shop_token:, script_tags:) ShopifyAPI::Auth::Session.temp(shop: shop_domain, access_token: shop_token) do |session| manager = ScriptTagsManager.new(, shop_domain) manager.(session: session) end end |