diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-04-03 22:08:19 +0200 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-04-03 22:09:33 +0200 |
commit | cea2cc3c1cc1e48fc4600c698d52dfda2bde4505 (patch) | |
tree | e216a9634c31047e8908a882aed9ff2545ed99e6 /app/serializers/sip_account_serializer.rb | |
parent | 64653a9149eca977c16233abb0a472730b94a464 (diff) |
Massive changes to the switchboard.
Diffstat (limited to 'app/serializers/sip_account_serializer.rb')
-rw-r--r-- | app/serializers/sip_account_serializer.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/sip_account_serializer.rb b/app/serializers/sip_account_serializer.rb new file mode 100644 index 0000000..c85c8a0 --- /dev/null +++ b/app/serializers/sip_account_serializer.rb @@ -0,0 +1,6 @@ +class SipAccountSerializer < ActiveModel::Serializer + embed :ids, :include => true + + attributes :id, :auth_name, :caller_name, :sip_accountable_id + has_many :phone_numbers +end |