diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 00:21:54 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 00:21:54 +0300 |
commit | 2507652084b7ca397574878538384edcbad68c73 (patch) | |
tree | f40972615b18d8eafc41bc8367865dd2a05ac005 /app/serializers/cluster_entity.rb | |
parent | 65b4627d3eda27844b093c981d05499a86e7235a (diff) |
Introduce serializer for ClusterEntity
Diffstat (limited to 'app/serializers/cluster_entity.rb')
-rw-r--r-- | app/serializers/cluster_entity.rb | 6 |
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 |