Skip to content
Snippets Groups Projects
Commit 6c94adea authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Remove project entity that was part of the PoC

parent c3dae798
Branches
Tags
1 merge request!7174Add serializer for environments
Pipeline #
Loading
Loading
@@ -6,7 +6,7 @@ class EnvironmentEntity < Grape::Entity
expose :state
expose :external_url
expose :environment_type
expose :project, with: ProjectEntity
expose :project, with: API::Entities::BasicProjectDetails
expose :last_deployment, using: DeploymentEntity
expose :stoppable?
 
Loading
Loading
class ProjectEntity < Grape::Entity
include RequestAwareEntity
expose :id
expose :name
expose :test do |project|
request.user.email
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment