Class: WorkItems::ParentLinks::BaseService

Inherits:
IssuableLinks::CreateService show all
Extended by:
Gitlab::Utils::Override
Defined in:
app/services/work_items/parent_links/base_service.rb

Direct Known Subclasses

CreateService, ReorderService

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

Methods included from Gitlab::Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from IssuableLinks::CreateService

#execute, #relate_issuables

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?, #can_all?, #can_any?

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