Skip to content

Instantly share code, notes, and snippets.

View karellm's full-sized avatar
🌴
On vacation

Karel Ledru karellm

🌴
On vacation
View GitHub Profile
import Model from "ember-data/model";
import attr from "ember-data/attr";
import { belongsTo, hasMany } from "ember-data/relationships";
export default Model.extend({
worksOk: DS.attr('boolean'),
doesNotWorks: DS.attr('boolean', { defaultValue: false })
});
import Adapter from "ember-data/adapters/json-api";
export default Adapter.extend();