summaryrefslogtreecommitdiff
path: root/app/serializers/route_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/route_entity.rb')
-rw-r--r--app/serializers/route_entity.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/serializers/route_entity.rb b/app/serializers/route_entity.rb
new file mode 100644
index 00000000000..158fda5e00e
--- /dev/null
+++ b/app/serializers/route_entity.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+class RouteEntity < Grape::Entity
+ expose :id
+ expose :source_id
+ expose :source_type
+ expose :path
+end