debian-mirror-gitlab/app/serializers/cluster_entity.rb
2018-11-18 11:00:15 +05:30

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