Created
October 9, 2013 19:53
-
-
Save jherdman/6907259 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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