Class: Types::PagesDeploymentType

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

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

#projectObject



38
39
40
# File 'app/graphql/types/pages_deployment_type.rb', line 38

def project
  ::Project.find(object.project_id)
end