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:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 19:02:28 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 19:02:28 +0300
commit2802b5bb52b6ba28e6eeb1813f3fd3a79d2c03c4 (patch)
tree57bb23f3ec8f808209059cf1b4791b5cefeb20f9 /app/serializers/cluster_application_entity.rb
parentb893a858808f1e2aefca4e3f665d633d31fa5937 (diff)
Add ClusterApplicationEntity tests
Diffstat (limited to 'app/serializers/cluster_application_entity.rb')
-rw-r--r--app/serializers/cluster_application_entity.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/serializers/cluster_application_entity.rb b/app/serializers/cluster_application_entity.rb
new file mode 100644
index 00000000000..3f9a275ad08
--- /dev/null
+++ b/app/serializers/cluster_application_entity.rb
@@ -0,0 +1,5 @@
+class ClusterApplicationEntity < Grape::Entity
+ expose :name
+ expose :status_name, as: :status
+ expose :status_reason
+end