Skip to content

Instantly share code, notes, and snippets.

@jherdman
Created October 9, 2013 19:53
Show Gist options
  • Save jherdman/6907259 to your computer and use it in GitHub Desktop.
Save jherdman/6907259 to your computer and use it in GitHub Desktop.
var attr = DS.attr,
Profile;
/**
* Representation of the client
*/
Profile = DS.Model.extend({
firstName: attr('string'),
lastName: attr('string'),
email: attr('string'),
height: attr('number')
});
Profile.FIXTURES = [
{
id: 1,
firstName: 'James',
lastName: 'Herdman',
email: '[email protected]',
height: 172.5
}
];
export default Profile;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment