Remove project entity that was part of the PoC

This commit is contained in:
Grzegorz Bizon 2016-11-03 14:08:13 +01:00
parent c3dae798e1
commit 6c94adea35
2 changed files with 1 additions and 11 deletions

View File

@ -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?

View File

@ -1,10 +0,0 @@
class ProjectEntity < Grape::Entity
include RequestAwareEntity
expose :id
expose :name
expose :test do |project|
request.user.email
end
end