Skip to content

Commit

Permalink
Merge pull request flatiron#19 from raix/master
Browse files Browse the repository at this point in the history
[fix] Updated README
  • Loading branch information
Marak committed Sep 2, 2012
2 parents 9dac1ba + f6ccdc2 commit 3ed3877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -25,7 +25,7 @@ var resourceful = require('resourceful'),
Creature = resourceful.define('creature');

Creature.property('type', String, { default: "dragon" });
Creature.property('life', Number, { default: 10, min: 0, max: 20 });
Creature.property('life', Number, { default: 10, minimum: 0, maximum: 20 });
```

*[additional API documentation for defining resources](http://github.com/flatiron/resourceful)*
Expand Down

0 comments on commit 3ed3877

Please sign in to comment.