2018-10-18 02:18:29 +03:00
|
|
|
import ApplicationSerializer from './application';
|
2020-01-16 20:01:12 +03:00
|
|
|
import {EmbeddedRecordsMixin} from '@ember-data/serializer/rest';
|
2018-10-18 02:18:29 +03:00
|
|
|
|
|
|
|
export default ApplicationSerializer.extend(EmbeddedRecordsMixin, {
|
|
|
|
attrs: {
|
|
|
|
apiKeys: {embedded: 'always'},
|
|
|
|
webhooks: {embedded: 'always'},
|
|
|
|
createdAtUTC: {key: 'created_at'},
|
|
|
|
updatedAtUTC: {key: 'updated_at'}
|
|
|
|
}
|
|
|
|
});
|