Sha256: 77a8c3afa1d262eff3c00f0f3cc5eafdc596eaa46076e07a9622b6d290200e92
Contents?: true
Size: 467 Bytes
Versions: 9
Compression:
Stored size: 467 Bytes
Contents
module DiscoApp::Concerns::AppUninstalledJob extend ActiveSupport::Concern included do before_enqueue { @shop.awaiting_uninstall! } before_perform { @shop.uninstalling! } after_perform { @shop.uninstalled! } end # Perform application uninstallation. # # - Mark charge status as "cancelled" unless charges have been waived. # def perform(domain, shop_data) unless @shop.charge_waived? @shop.charge_cancelled! end end end
Version data entries
9 entries across 9 versions & 1 rubygems