Class: AlertManagement::HttpIntegrations::BaseService

Inherits:
BaseProjectService show all
Defined in:
app/services/alert_management/http_integrations/base_service.rb

Direct Known Subclasses

CreateService, UpdateService

Instance Attribute Summary

Attributes inherited from BaseProjectService

#project

Attributes inherited from BaseContainerService

#container, #current_user, #group, #params, #project

Instance Method Summary collapse

Methods inherited from BaseContainerService

#group_container?, #namespace_container?, #project_container?, #project_group

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

#initialize(project, current_user, params) ⇒ BaseService

Returns a new instance of BaseService.

Parameters:



9
10
11
12
13
# File 'app/services/alert_management/http_integrations/base_service.rb', line 9

def initialize(project, current_user, params)
  @response = nil

  super(project: project, current_user: current_user, params: params.with_indifferent_access)
end