Class: ApplicationSettings::BaseService
- Inherits:
-
BaseService
- Object
- BaseService
- ApplicationSettings::BaseService
- Defined in:
- app/services/application_settings/base_service.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
-
#initialize(application_setting, user, params = {}) ⇒ BaseService
constructor
A new instance of BaseService.
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
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 |