import { ActiveModelSerializer } from 'ember-cli-mirage';
import { underscore } from 'ember-string';

export default ActiveModelSerializer.extend({
  root: false,
  embed: true,
  typeKeyForModel({ modelName }) {
    return modelName;
  },
  keyForAttribute: underscore
});
