summaryrefslogtreecommitdiff
path: root/app/serializers/pager_group_destination_serializer.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-04 15:06:50 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-04 15:06:50 +0200
commit87cf6e55f76901c340ec99cf216637a2b9672cc2 (patch)
tree8f500293a84151d177a64e3ca892eb13cd20b8f4 /app/serializers/pager_group_destination_serializer.rb
parent26456e2298376ceb5bc3d7978d7c0aa146e44039 (diff)
JSON API for PagerGroup (new)
Diffstat (limited to 'app/serializers/pager_group_destination_serializer.rb')
-rw-r--r--app/serializers/pager_group_destination_serializer.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/pager_group_destination_serializer.rb b/app/serializers/pager_group_destination_serializer.rb
new file mode 100644
index 0000000..6b14884
--- /dev/null
+++ b/app/serializers/pager_group_destination_serializer.rb
@@ -0,0 +1,3 @@
+class PagerGroupDestinationSerializer < ActiveModel::Serializer
+ embed :ids, :include => true
+end