Sha256: 6ec4316d6114d65f4cd7abea3a5b68ea91020490aa2dd4b2abe74dc0213d8631

Contents?: true

Size: 202 Bytes

Versions: 6

Compression:

Stored size: 202 Bytes

Contents

class <%= @job_class_name %> < ActiveJob::Base
  def perform(shop_domain:, webhook:)
    shop = Shop.find_by(spiffy_stores_domain: shop_domain)

    shop.with_spiffy_stores_session do
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spiffy_stores_app-8.2.11 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb
spiffy_stores_app-8.2.10 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb
spiffy_stores_app-8.2.9 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb
spiffy_stores_app-8.2.8 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb
spiffy_stores_app-8.2.7 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb
spiffy_stores_app-8.2.6 lib/generators/spiffy_stores_app/add_webhook/templates/webhook_job.rb