Sha256: 736401b466ea69d89a504280fa60743f3fcc86f9baff7869aeaedd564fb8d60c
Contents?: true
Size: 327 Bytes
Versions: 17
Compression:
Stored size: 327 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(_shop, shop_data) super @shop.update(data: @shop.data.merge(country_name: 'Nowhere')) end end
Version data entries
17 entries across 17 versions & 1 rubygems