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

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.3 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.4 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.5 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.6 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.7 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.8 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.14.1 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.14.2 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.15.0 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.16.0 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.14.4 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.14.3 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.16.1 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.15.2 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.14.0 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb
disco_app-0.13.6.pre.puma.pre.3 test/dummy/app/jobs/disco_app/app_uninstalled_job.rb