Welcome to mirror list, hosted at ThFree Co, Russian Federation.

environment.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cb39ce1b13af4b670b5f3c1e6cb29fc3b85fdbbf (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class Environment < Entities::EnvironmentBasic
      expose :project, using: Entities::BasicProjectDetails
      expose :last_deployment, using: Entities::Deployment, if: { last_deployment: true }
      expose :state
    end
  end
end