diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-28 10:14:37 -0700 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2012-03-28 10:14:37 -0700 |
commit | a7d4684ac5dc704b3fe8320618e71d462ee1209e (patch) | |
tree | c8208367ce06683b8d8870600e1201134fa30138 | |
parent | 83221a34f0055e4c8fcf2fad16e1378f7c4406f0 (diff) | |
parent | 21054aa63788e3d4d0d9539c6967c4f7243849b8 (diff) | |
download | pecan-a7d4684ac5dc704b3fe8320618e71d462ee1209e.tar.gz |
Merge pull request #118 from coderpete/next
API Documentation for pecan_rest
-rw-r--r-- | pecan/rest.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pecan/rest.py b/pecan/rest.py index 89a599c..612255a 100644 --- a/pecan/rest.py +++ b/pecan/rest.py @@ -9,8 +9,17 @@ from util import iscontroller class RestController(object): ''' A base class for ``REST`` based controllers. Inherit from this class - to implement a REST controller. A set of custom actions can also - be specified. For more details, see :ref:`pecan_rest`. + to implement a REST controller. + + ``RestController`` implements a set of routing functions which override + the default pecan routing with behavior consistent with RESTful routing. + This functionality covers navigation to the requested resource + controllers, and the appropriate handling of both the common (``GET``, + ``POST``, ``PUT``, ``DELETE``) as well as custom-defined REST action + methods. + + For more on developing **RESTful** web applications with Pecan, see + :ref:`rest`. ''' _custom_actions = {} |