Class: Shipit::CreateReleaseStatusesJob
- Inherits:
-
BackgroundJob
- Object
- ActiveJob::Base
- BackgroundJob
- Shipit::CreateReleaseStatusesJob
- Includes:
- BackgroundJob::Unique
- Defined in:
- app/jobs/shipit/create_release_statuses_job.rb
Constant Summary
Constants included from BackgroundJob::Unique
BackgroundJob::Unique::ConcurrentJobError, BackgroundJob::Unique::DEFAULT_TIMEOUT
Constants inherited from BackgroundJob
BackgroundJob::DEFAULT_RETRY_TIME_IN_SECONDS
Instance Method Summary collapse
Methods included from BackgroundJob::Unique
Instance Method Details
#perform(commit) ⇒ Object
10 11 12 |
# File 'app/jobs/shipit/create_release_statuses_job.rb', line 10 def perform(commit) commit.release_statuses.to_be_created.each(&:create_status_on_github!) end |