cluster_entity.rb 216 Bytes
Newer Older
1 2
# frozen_string_literal: true

3 4 5
class ClusterEntity < Grape::Entity
  include RequestAwareEntity

6
  expose :status_name, as: :status
7
  expose :status_reason
8
  expose :applications, using: ClusterApplicationEntity
9
end