Class: AuthorizedProjectUpdate::ProjectGroupLinkCreateWorker
- Inherits:
-
Object
- Object
- AuthorizedProjectUpdate::ProjectGroupLinkCreateWorker
- Includes:
- ApplicationWorker
- Defined in:
- app/workers/authorized_project_update/project_group_link_create_worker.rb
Constant Summary
Constants included from ApplicationWorker
ApplicationWorker::LOGGING_EXTRA_KEY
Constants included from WorkerAttributes
WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES
Instance Method Summary collapse
Methods included from Gitlab::SidekiqVersioning::Worker
Methods included from WorkerContext
Instance Method Details
#perform(project_id, group_id, group_access = nil) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'app/workers/authorized_project_update/project_group_link_create_worker.rb', line 13 def perform(project_id, group_id, group_access = nil) project = Project.find(project_id) group = Group.find(group_id) AuthorizedProjectUpdate::ProjectGroupLinkCreateService .new(project, group, group_access) .execute end |