Class: Gitlab::Ci::Status::Build::Failed

Inherits:
Extended
  • Object
show all
Defined in:
lib/gitlab/ci/status/build/failed.rb

Direct Known Subclasses

Gitlab::Ci::Status::Bridge::Failed

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Extended

#initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Status::Extended

Class Method Details

.matches?(build, user) ⇒ Boolean

Returns:

  • (Boolean)

51
52
53
# File 'lib/gitlab/ci/status/build/failed.rb', line 51

def self.matches?(build, user)
  build.failed?
end

.reasonsObject


55
56
57
# File 'lib/gitlab/ci/status/build/failed.rb', line 55

def self.reasons
  REASONS
end

Instance Method Details

#badge_tooltipObject


47
48
49
# File 'lib/gitlab/ci/status/build/failed.rb', line 47

def badge_tooltip
  base_message
end

#status_tooltipObject


43
44
45
# File 'lib/gitlab/ci/status/build/failed.rb', line 43

def status_tooltip
  base_message
end