Class: ApplicationSettings::BaseService

Inherits:
BaseService show all
Defined in:
app/services/application_settings/base_service.rb

Direct Known Subclasses

UpdateService

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

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(application_setting, user, params = {}) ⇒ BaseService

Returns a new instance of BaseService.



5
6
7
8
9
# File 'app/services/application_settings/base_service.rb', line 5

def initialize(application_setting, user, params = {})
  @application_setting = application_setting
  @current_user = user
  @params = params.dup
end