Sha256: 6130af58e711b99edf048d18e4565a2a00a5505a60c8dc0d21170a6779e3b513
Contents?: true
Size: 323 Bytes
Versions: 26
Compression:
Stored size: 323 Bytes
Contents
class DiscoApp::AppUninstalledJob < DiscoApp::ShopJob include DiscoApp::Concerns::AppUninstalledJob # Extend the perform method to change the country name of the shop to # 'Nowhere' on uninstallation. def perform(domain, shop_data) super(domain, shop_data) @shop.update(country_name: 'Nowhere') end end
Version data entries
26 entries across 26 versions & 1 rubygems