summaryrefslogtreecommitdiff
path: root/lib/api/entities/member.rb
blob: 87f03adba316d5d3f17ec33a3d301f9107cf759f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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)