Class: Groups::DeployTokens::DestroyService

Inherits:
BaseService show all
Includes:
DeployTokenMethods
Defined in:
app/services/groups/deploy_tokens/destroy_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #group, #params

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods included from DeployTokenMethods

#create_deploy_token_for, #create_deploy_token_payload_for, #destroy_deploy_token

Methods inherited from BaseService

#initialize

Methods inherited from BaseService

#initialize

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?

Constructor Details

This class inherits a constructor from Groups::BaseService

Instance Method Details

#executeObject


8
9
10
# File 'app/services/groups/deploy_tokens/destroy_service.rb', line 8

def execute
  destroy_deploy_token(@group, params)
end