Class: Types::GroupInvitationType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/group_invitation_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#groupObject


16
17
18
# File 'app/graphql/types/group_invitation_type.rb', line 16

def group
  Gitlab::Graphql::Loaders::BatchModelLoader.new(Group, object.source_id).find
end