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
# File 'app/services/application_settings/base_service.rb', line 5

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