Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[docs] Updating README

  • Loading branch information...
commit ff957d1f7f01a28185f61f3953d6ab9426d19583 1 parent dd4b107
@Marak Marak authored
Showing with 8 additions and 10 deletions.
  1. +8 −10 README.md
View
18 README.md
@@ -73,16 +73,6 @@ Creature.prototype.feed = function (food) {
* [Engine Constructor](https://github.com/flatiron/resourceful/wiki/Engine-Constructor)
* [Engine Caching](https://github.com/flatiron/resourceful/wiki/Engine-Caching)
-<a name="relationships"></a>
-# Relational Resources
-
-Resourceful supports a simple `Resource.parent` API, which is actually quite robust. Through this API, resourceful supports one-one, one-many, and many-many relationships.
-
-### Documentation
-
- * [Relational Resources](https://github.com/flatiron/resourceful/wiki/Relational-Resources)
-
-
# API
## Resource Constructor Methods
@@ -117,6 +107,14 @@ These methods are available on all user-defined resource constructors which are
* `Parent.prototype.createChild(properties, [callback])`
* `Child.prototype.parent([callback])`: Fetches the parent of the given child instance.
+<a name="relationships"></a>
+# Relational Resources
+
+Resourceful supports a simple `Resource.parent` API, supports one-one, one-many, and many-many relationships.
+
+### Documentation
+
+ * [Relational Resources](https://github.com/flatiron/resourceful/wiki/Relational-Resources)
# Tests
All tests are written with [vows][0] and should be run with [npm][1]:
Please sign in to comment.
Something went wrong with that request. Please try again.