Sha256: 96650c45d8ea2486c104c6523f06321454f3df073a51a34209abea65908a1ca9
Contents?: true
Size: 597 Bytes
Versions: 14
Compression:
Stored size: 597 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. # - Synchronise carrier service, if required. # - Perform initial update of shop information. # def perform(domain) DiscoApp::SynchroniseWebhooksJob.perform_now(domain) DiscoApp::SynchroniseCarrierServiceJob.perform_now(domain) DiscoApp::ShopUpdateJob.perform_now(domain) end end
Version data entries
14 entries across 14 versions & 1 rubygems