Class: Shipit::CreateOnGithubJob

Inherits:
BackgroundJob show all
Includes:
BackgroundJob::Unique
Defined in:
app/jobs/shipit/create_on_github_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

#acquire_lock, #lock_key

Instance Method Details

#perform(record) ⇒ Object



25
26
27
# File 'app/jobs/shipit/create_on_github_job.rb', line 25

def perform(record)
  record.reload.create_on_github!
end