Class: Members::BaseService
- Inherits:
-
BaseService
- Object
- BaseService
- Members::BaseService
- Defined in:
- app/services/members/base_service.rb
Direct Known Subclasses
ApproveAccessRequestService, CreateService, DestroyService, RequestAccessService, UpdateService
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
- #after_execute(args) ⇒ Object
-
#initialize(current_user = nil, params = {}) ⇒ BaseService
constructor
current_user - The user that performs the action params - A hash of parameters.
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(current_user = nil, params = {}) ⇒ BaseService
current_user - The user that performs the action params - A hash of parameters
7 8 9 10 |
# File 'app/services/members/base_service.rb', line 7 def initialize(current_user = nil, params = {}) @current_user = current_user @params = params end |
Instance Method Details
#after_execute(args) ⇒ Object
12 13 14 |
# File 'app/services/members/base_service.rb', line 12 def after_execute(args) # overridden in EE::Members modules end |