Sha256: b6d6157828426aef8355d08ba01a0e074f52f7f85993e84cdad728e087bb6a43

Contents?: true

Size: 393 Bytes

Versions: 48

Compression:

Stored size: 393 Bytes

Contents

class DiscoApp::AppInstalledJob < DiscoApp::ShopJob
  include DiscoApp::Concerns::AppInstalledJob

  DEVELOPMENT_PLAN_ID = 1

  # Implement the default_plan method to define an initial plan for shops based
  # on their status.
  def default_plan
    @default_plan ||= begin
      if @shop.plan_name === 'affiliate'
        DiscoApp::Plan.find(DEVELOPMENT_PLAN_ID)
      end
    end
  end

end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.8.8 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.8.9 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.0 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.1 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.2 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.3 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.4 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.5 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.6 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.7 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.8 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.9 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.10 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.9.11 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.10.0 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.10.1 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.10.2 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.10.3 test/dummy/app/jobs/disco_app/app_installed_job.rb
disco_app-0.10.4 test/dummy/app/jobs/disco_app/app_installed_job.rb