Class: Gitlab::Checks::BaseChecker

Inherits:
Object
  • Object
show all
Includes:
Utils::StrongMemoize
Defined in:
lib/gitlab/checks/base_checker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Constructor Details

#initialize(change_access) ⇒ BaseChecker

Returns a new instance of BaseChecker.


11
12
13
# File 'lib/gitlab/checks/base_checker.rb', line 11

def initialize(change_access)
  @change_access = change_access
end

Instance Attribute Details

#change_accessObject (readonly)

Returns the value of attribute change_access


8
9
10
# File 'lib/gitlab/checks/base_checker.rb', line 8

def change_access
  @change_access
end

Instance Method Details

#validate!Object

Raises:

  • (NotImplementedError)

15
16
17
# File 'lib/gitlab/checks/base_checker.rb', line 15

def validate!
  raise NotImplementedError
end