14 lines
336 B
Ruby
14 lines
336 B
Ruby
# frozen_string_literal: true
|
|
|
|
module API
|
|
module Entities
|
|
class UserDetailsWithAdmin < UserWithAdmin
|
|
expose :highest_role
|
|
expose :current_sign_in_ip
|
|
expose :last_sign_in_ip
|
|
expose :sign_in_count
|
|
end
|
|
end
|
|
end
|
|
|
|
API::Entities::UserDetailsWithAdmin.prepend_mod_with('API::Entities::UserDetailsWithAdmin')
|