summaryrefslogtreecommitdiff
path: root/app/serializers/sip_account_serializer.rb
blob: aa749b01b4fd97e4febdec0e8c12f78da2e03db8 (plain)
1
2
3
4
5
6
7
class SipAccountSerializer < ActiveModel::Serializer
  embed :ids, :include => true

  attributes :id, :auth_name, :caller_name, :sip_accountable_id
  has_many :phone_numbers
  has_many :calls
end