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

15 lines
327 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
module API
module Entities
class Member < Grape::Entity
expose :user, merge: true, using: UserBasic
expose :access_level
2021-01-03 14:25:43 +05:30
expose :created_at
2020-03-13 15:44:24 +05:30
expose :expires_at
end
end
end
2021-06-08 01:23:25 +05:30
API::Entities::Member.prepend_mod_with('API::Entities::Member', with_descendants: true)