Remove project entity that was part of the PoC
This commit is contained in:
parent
c3dae798e1
commit
6c94adea35
|
@ -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?
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
class ProjectEntity < Grape::Entity
|
||||
include RequestAwareEntity
|
||||
|
||||
expose :id
|
||||
expose :name
|
||||
|
||||
expose :test do |project|
|
||||
request.user.email
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue