Sha256: 42e54fbbe4673cc3a28fa9fb4cf1bc46fdd7be403a840804328b4d9235b10c13
Contents?: true
Size: 415 Bytes
Versions: 11
Compression:
Stored size: 415 Bytes
Contents
module DiscoApp class AppUninstalledJob < DiscoApp::ShopJob before_enqueue { @shop.awaiting_uninstall! } before_perform { @shop.uninstalling! } after_perform { @shop.uninstalled! } def perform(domain, shop_data) # Mark the shop's charge status as "cancelled" unless charges have been waived. unless @shop.charge_waived? @shop.charge_cancelled! end end end end
Version data entries
11 entries across 11 versions & 1 rubygems