debian-mirror-gitlab/lib/api/entities/member.rb
2021-06-08 01:23:25 +05:30

14 lines
327 B
Ruby

# frozen_string_literal: true
module API
module Entities
class Member < Grape::Entity
expose :user, merge: true, using: UserBasic
expose :access_level
expose :created_at
expose :expires_at
end
end
end
API::Entities::Member.prepend_mod_with('API::Entities::Member', with_descendants: true)