diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/call_serializer.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/call_serializer.rb b/app/serializers/call_serializer.rb new file mode 100644 index 0000000..cd41969 --- /dev/null +++ b/app/serializers/call_serializer.rb @@ -0,0 +1,6 @@ +class CallSerializer < ActiveModel::Serializer + embed :uuids, :include => true + + attributes :start_stamp, :destination, :callstate, :b_callstate, :b_caller_id_number, :sip_account_id + attribute :uuid, :key => :id +end
\ No newline at end of file |