blob: 49dcdf12a6fe9b3721ca39ae20e48918b6528355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
# rubocop: disable Gitlab/NamespacedClass
class PersonalAccessTokenEntity < AccessTokenEntityBase
include Gitlab::Routing
expose :revoke_path do |token, options|
revoke_profile_personal_access_token_path(token)
end
end
# rubocop: enable Gitlab/NamespacedClass
|