Class: Analytics::CycleAnalytics::Stages::BaseService

Inherits:
Object
  • Object
show all
Includes:
Gitlab::Allowable
Defined in:
app/services/analytics/cycle_analytics/stages/base_service.rb

Direct Known Subclasses

ListService

Constant Summary collapse

DEFAULT_VALUE_STREAM_NAME =
'default'

Instance Method Summary collapse

Methods included from Gitlab::Allowable

#can?

Constructor Details

#initialize(parent:, current_user:, params: {}) ⇒ BaseService

Returns a new instance of BaseService.


11
12
13
14
15
# File 'app/services/analytics/cycle_analytics/stages/base_service.rb', line 11

def initialize(parent:, current_user:, params: {})
  @parent = parent
  @current_user = current_user
  @params = params
end

Instance Method Details

#executeObject

Raises:

  • (NotImplementedError)

17
18
19
# File 'app/services/analytics/cycle_analytics/stages/base_service.rb', line 17

def execute
  raise NotImplementedError
end