Class: Ci::JobArtifacts::DeleteProjectArtifactsService
- Inherits:
-
BaseProjectService
- Object
- BaseContainerService
- BaseProjectService
- Ci::JobArtifacts::DeleteProjectArtifactsService
- Defined in:
- app/services/ci/job_artifacts/delete_project_artifacts_service.rb
Instance Attribute Summary
Attributes inherited from BaseProjectService
Attributes inherited from BaseContainerService
#container, #current_user, #group, #params, #project
Instance Method Summary collapse
Methods inherited from BaseProjectService
Methods inherited from BaseContainerService
#group_container?, #initialize, #namespace_container?, #project_container?, #project_group, #root_ancestor
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
This class inherits a constructor from BaseProjectService
Instance Method Details
#execute ⇒ Object
6 7 8 |
# File 'app/services/ci/job_artifacts/delete_project_artifacts_service.rb', line 6 def execute ExpireProjectBuildArtifactsWorker.perform_async(project.id) end |