cms/app-client/mirage/serializers/sparse-document.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 16:18:19 +0200
changeset 220 2145b80776a3
parent 173 cf7b221238fd
child 222 0eba8101b129
permissions -rw-r--r--
Linting
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
173
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
// mirage/serializers/blog-post.js
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import BaseSerializer from './application';
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
export default BaseSerializer.extend({
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    attrs: ['id', 'title', 'language', 'url', 'issued', 'modified']
cf7b221238fd Work on test fixtures:
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
});