summaryrefslogtreecommitdiff
path: root/app/serializers/switchboard_serializer.rb
blob: 2912a56f8714bfc09b4865916e08baf467a14d64 (plain)
1
2
3
4
5
6
7
class SwitchboardSerializer < ActiveModel::Serializer
  attributes :id, :name

  embed :ids

  has_many :switchboard_entries, :key => :switchboard_entrys
end