Sha256: 0578841286433b8e44322ab998d25b166bf9782ca130ef75cf969c89e8984336
Contents?: true
Size: 496 Bytes
Versions: 47
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true 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
47 entries across 47 versions & 2 rubygems