diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/jobs/govuk_guix/create_data_snapshot_job.rb | 4 | ||||
-rw-r--r-- | app/jobs/govuk_guix/fetch_revision_job.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/jobs/govuk_guix/create_data_snapshot_job.rb b/app/jobs/govuk_guix/create_data_snapshot_job.rb index 4768b24..cadaa96 100644 --- a/app/jobs/govuk_guix/create_data_snapshot_job.rb +++ b/app/jobs/govuk_guix/create_data_snapshot_job.rb @@ -89,4 +89,8 @@ class GovukGuix::CreateDataSnapshotJob < Que::Job GovukGuix::DataSnapshot.create!(data_snapshot_fields) end + + def self.job_title(_que_job) + 'Create Data Snapshot' + end end diff --git a/app/jobs/govuk_guix/fetch_revision_job.rb b/app/jobs/govuk_guix/fetch_revision_job.rb index afbff71..6bec146 100644 --- a/app/jobs/govuk_guix/fetch_revision_job.rb +++ b/app/jobs/govuk_guix/fetch_revision_job.rb @@ -133,4 +133,8 @@ class GovukGuix::FetchRevisionJob < Que::Job 'https://github.com/alphagov/govuk-guix.git' ) end + + def self.job_title(_que_job) + 'Fetch govuk-guix Revision' + end end |