open-nomad/ui/app/models/namespace.js
2017-10-23 17:42:36 -07:00

12 lines
253 B
JavaScript

import Ember from 'ember';
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
const { computed } = Ember;
export default Model.extend({
name: computed.readOnly('id'),
hash: attr('string'),
description: attr('string'),
});