Sha256: 6ec4b394a71cc6e16e000dd3a956bf31bf779c9df17d7d16e83fa11a9c7cd507
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
module DiscoApp::Concerns::AppInstalledJob extend ActiveSupport::Concern included do before_enqueue { @shop.awaiting_install! } before_perform { @shop.installing! } after_perform { @shop.installed! } end # Perform application installation. # # - Synchronise webhooks. # - Perform initial update of shop information. # def perform(domain) DiscoApp::SynchroniseWebhooksJob.perform_now(domain) DiscoApp::ShopUpdateJob.perform_now(domain) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
disco_app-0.6.4 | app/jobs/disco_app/concerns/app_installed_job.rb |
disco_app-0.6.5 | app/jobs/disco_app/concerns/app_installed_job.rb |