Class: Types::MergeRequests::MergeabilityCheckType

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

Overview

rubocop:disable Graphql/AuthorizeTypes

Instance Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#identifierObject



23
24
25
# File 'app/graphql/types/merge_requests/mergeability_check_type.rb', line 23

def identifier
  object.identifier.to_s
end

#statusObject



19
20
21
# File 'app/graphql/types/merge_requests/mergeability_check_type.rb', line 19

def status
  object.status.to_s
end