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

10 lines
216 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-10-03 17:21:54 -04:00
class ClusterEntity < Grape::Entity
include RequestAwareEntity
expose :status_name, as: :status
2017-10-03 17:21:54 -04:00
expose :status_reason
2017-11-06 11:02:28 -05:00
expose :applications, using: ClusterApplicationEntity
2017-10-03 17:21:54 -04:00
end