Welcome to mirror list, hosted at ThFree Co, Russian Federation.

impersonation_access_token_entity.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4ed62a890d949f50602f9af4325f9defc1b1acd (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

# rubocop: disable Gitlab/NamespacedClass
class ImpersonationAccessTokenEntity < AccessTokenEntityBase
  include Gitlab::Routing

  expose :revoke_path do |token, _options|
    revoke_admin_user_impersonation_token_path(token.user, token)
  end
end
# rubocop: enable Gitlab/NamespacedClass