diff options
Diffstat (limited to 'app/serializers/cluster_entity.rb')
-rw-r--r-- | app/serializers/cluster_entity.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/serializers/cluster_entity.rb b/app/serializers/cluster_entity.rb new file mode 100644 index 00000000000..7e5b0997878 --- /dev/null +++ b/app/serializers/cluster_entity.rb @@ -0,0 +1,7 @@ +class ClusterEntity < Grape::Entity + include RequestAwareEntity + + expose :status_name, as: :status + expose :status_reason + expose :applications, using: ClusterApplicationEntity +end |