gitlab-org--gitlab-foss/app/serializers/cluster_entity.rb
2018-07-23 11:27:39 -07:00

9 lines
216 B
Ruby

# frozen_string_literal: true
class ClusterEntity < Grape::Entity
include RequestAwareEntity
expose :status_name, as: :status
expose :status_reason
expose :applications, using: ClusterApplicationEntity
end