Class: Gitlab::Badge::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/badge/base.rb

Direct Known Subclasses

Coverage::Report, Pipeline::Status

Instance Method Summary collapse

Instance Method Details

#entityObject

Raises:

  • (NotImplementedError)

6
7
8
# File 'lib/gitlab/badge/base.rb', line 6

def entity
  raise NotImplementedError
end

#metadataObject

Raises:

  • (NotImplementedError)

14
15
16
# File 'lib/gitlab/badge/base.rb', line 14

def 
  raise NotImplementedError
end

#statusObject

Raises:

  • (NotImplementedError)

10
11
12
# File 'lib/gitlab/badge/base.rb', line 10

def status
  raise NotImplementedError
end

#templateObject

Raises:

  • (NotImplementedError)

18
19
20
# File 'lib/gitlab/badge/base.rb', line 18

def template
  raise NotImplementedError
end