debian-mirror-gitlab/lib/api/entities/user_details_with_admin.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
336 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class UserDetailsWithAdmin < UserWithAdmin
expose :highest_role
expose :current_sign_in_ip
expose :last_sign_in_ip
2020-10-24 23:57:45 +05:30
expose :sign_in_count
2020-03-13 15:44:24 +05:30
end
end
end
2020-04-08 14:13:33 +05:30
2021-06-08 01:23:25 +05:30
API::Entities::UserDetailsWithAdmin.prepend_mod_with('API::Entities::UserDetailsWithAdmin')