Sha256: a94fbe7b1bb028d1fd7c387f3cea146a3184ae6e9235fd31b3ca6e9d0afbf284

Contents?: true

Size: 284 Bytes

Versions: 1

Compression:

Stored size: 284 Bytes

Contents

module ShopifyApp
  class WebhooksManagerJob < ActiveJob::Base
    def perform(shop_domain:, shop_token:, webhooks:)
      ShopifyAPI::Session.temp(shop_domain, shop_token) do
        manager = WebhooksManager.new(webhooks)
        manager.create_webhooks
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify_app-7.0.11 lib/shopify_app/webhooks_manager_job.rb