Sha256: a997e3ea6bbf6622f5dd12e020813c8c9b2c7c8a39c0a99edaa90601e114c646
Contents?: true
Size: 384 Bytes
Versions: 6
Compression:
Stored size: 384 Bytes
Contents
module SpiffyStoresApp class WebhooksManagerJob < ActiveJob::Base queue_as do SpiffyStoresApp.configuration.webhooks_manager_queue_name end def perform(shop_domain:, shop_token:, webhooks:) SpiffyStoresAPI::Session.temp(shop_domain, shop_token) do manager = WebhooksManager.new(webhooks) manager.create_webhooks end end end end
Version data entries
6 entries across 6 versions & 1 rubygems