Class: ShopifyApp::WebhooksManagerJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- ShopifyApp::WebhooksManagerJob
- Defined in:
- lib/shopify_app/webhooks_manager_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(shop_domain:, shop_token:) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/shopify_app/webhooks_manager_job.rb', line 3 def perform(shop_domain:, shop_token:) ShopifyAPI::Session.temp(shop_domain, shop_token) do manager = WebhooksManager.new manager.create_webhooks end end |