gitlab-org--gitlab-foss/app/serializers/cluster_entity.rb

6 lines
129 B
Ruby

class ClusterEntity < Grape::Entity
include RequestAwareEntity
expose :status_name, as: :status
expose :status_reason
end