Commit 6c94adea authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove project entity that was part of the PoC

parent c3dae798
...@@ -6,7 +6,7 @@ class EnvironmentEntity < Grape::Entity ...@@ -6,7 +6,7 @@ class EnvironmentEntity < Grape::Entity
expose :state expose :state
expose :external_url expose :external_url
expose :environment_type expose :environment_type
expose :project, with: ProjectEntity expose :project, with: API::Entities::BasicProjectDetails
expose :last_deployment, using: DeploymentEntity expose :last_deployment, using: DeploymentEntity
expose :stoppable? expose :stoppable?
......
class ProjectEntity < Grape::Entity
include RequestAwareEntity
expose :id
expose :name
expose :test do |project|
request.user.email
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment