Class: WorkItems::ParentLinks::BaseService
- Inherits:
-
IssuableLinks::CreateService
- Object
- BaseService
- IssuableLinks::CreateService
- WorkItems::ParentLinks::BaseService
- Extended by:
- Gitlab::Utils::Override
- Defined in:
- app/services/work_items/parent_links/base_service.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from IssuableLinks::CreateService
#current_user, #issuable, #new_links, #params
Attributes inherited from BaseService
#current_user, #params, #project
Instance Method Summary collapse
-
#initialize(issuable, user, params) ⇒ BaseService
constructor
A new instance of BaseService.
Methods included from Gitlab::Utils::Override
extended, extensions, included, method_added, override, prepended, queue_verification, verify!
Methods inherited from IssuableLinks::CreateService
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(issuable, user, params) ⇒ BaseService
Returns a new instance of BaseService.
8 9 10 11 |
# File 'app/services/work_items/parent_links/base_service.rb', line 8 def initialize(issuable, user, params) @previous_parents = Set.new super end |