2020-01-30 13:08:57 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class Member < Grape::Entity
|
|
|
|
expose :user, merge: true, using: UserBasic
|
|
|
|
expose :access_level
|
|
|
|
expose :expires_at
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2020-02-17 07:09:20 -05:00
|
|
|
|
|
|
|
API::Entities::Member.prepend_if_ee('EE::API::Entities::Member', with_descendants: true)
|