Class: Types::IdeType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/ide_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

#code_suggestions_enabledObject



13
14
15
# File 'app/graphql/types/ide_type.rb', line 13

def code_suggestions_enabled
  object.can?(:access_code_suggestions)
end