Class: Organizations::BaseService
- Inherits:
-
Object
- Object
- Organizations::BaseService
- Includes:
- BaseServiceUtility
- Defined in:
- app/services/organizations/base_service.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(current_user: nil, 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(current_user: nil, params: {}) ⇒ BaseService
Returns a new instance of BaseService.
7 8 9 10 11 12 |
# File 'app/services/organizations/base_service.rb', line 7 def initialize(current_user: nil, params: {}) @current_user = current_user @params = params.dup build_organization_detail_attributes end |