Class: Gitlab::Ci::Status::Build::Erased
- Inherits:
-
Extended
- Object
- SimpleDelegator
- Extended
- Gitlab::Ci::Status::Build::Erased
show all
- Defined in:
- lib/gitlab/ci/status/build/erased.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Extended
#initialize
Class Method Details
.matches?(build, user) ⇒ Boolean
16
17
18
|
# File 'lib/gitlab/ci/status/build/erased.rb', line 16
def self.matches?(build, user)
build.erased?
end
|
Instance Method Details
#illustration ⇒ Object
8
9
10
11
12
13
14
|
# File 'lib/gitlab/ci/status/build/erased.rb', line 8
def illustration
{
image: 'illustrations/empty-state/empty-projects-deleted-md.svg',
size: '',
title: _('Job has been erased')
}
end
|