Sha256: 3b9065967866e8e06a0d79d73b16f61d465c27e0f74374e5da1d3ca2b0449153
Contents?: true
Size: 467 Bytes
Versions: 29
Compression:
Stored size: 467 Bytes
Contents
module ShopifyApp class WebhooksManagerJob < ActiveJob::Base queue_as do ShopifyApp.configuration.webhooks_manager_queue_name end def perform(shop_domain:, shop_token:, webhooks:) api_version = ShopifyApp.configuration.api_version ShopifyAPI::Session.temp(domain: shop_domain, token: shop_token, api_version: api_version) do manager = WebhooksManager.new(webhooks) manager.create_webhooks end end end end
Version data entries
29 entries across 29 versions & 1 rubygems