diff options
Diffstat (limited to 'lib/gitlab/badge/pipeline/metadata.rb')
-rw-r--r-- | lib/gitlab/badge/pipeline/metadata.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/gitlab/badge/pipeline/metadata.rb b/lib/gitlab/badge/pipeline/metadata.rb deleted file mode 100644 index d4d789558c9..00000000000 --- a/lib/gitlab/badge/pipeline/metadata.rb +++ /dev/null @@ -1,29 +0,0 @@ -# frozen_string_literal: true - -module Gitlab - module Badge - module Pipeline - ## - # Class that describes pipeline badge metadata - # - class Metadata < Badge::Metadata - def initialize(badge) - @project = badge.project - @ref = badge.ref - end - - def title - 'pipeline status' - end - - def image_url - pipeline_project_badges_url(@project, @ref, format: :svg) - end - - def link_url - project_commits_url(@project, id: @ref) - end - end - end - end -end |