Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-04 00:21:54 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-04 00:21:54 +0300
commit2507652084b7ca397574878538384edcbad68c73 (patch)
treef40972615b18d8eafc41bc8367865dd2a05ac005 /app/serializers/cluster_entity.rb
parent65b4627d3eda27844b093c981d05499a86e7235a (diff)
Introduce serializer for ClusterEntity
Diffstat (limited to 'app/serializers/cluster_entity.rb')
-rw-r--r--app/serializers/cluster_entity.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/cluster_entity.rb b/app/serializers/cluster_entity.rb
new file mode 100644
index 00000000000..ca0ee8952e2
--- /dev/null
+++ b/app/serializers/cluster_entity.rb
@@ -0,0 +1,6 @@
+class ClusterEntity < Grape::Entity
+ include RequestAwareEntity
+
+ expose :status
+ expose :status_reason
+end