Sha256: e33060149bef80f2b1270027a12de743cc0472cd1163625c7c4f3e2aa830f5d2
Contents?: true
Size: 347 Bytes
Versions: 26
Compression:
Stored size: 347 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(data: @shop.data.merge(country_name: 'Nowhere')) end end
Version data entries
26 entries across 26 versions & 1 rubygems