Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Commit

Permalink
Fixes minor typo in code sample for resposne dictionaries
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Jun 11, 2013
1 parent 7903cbf commit 7f0428b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/handlers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ By default the response is set to a dictionary. Remember that at the end of the
self.response.http_status = prestans.rest.STATUS.OK
# Add new attribute
self.response.body.set_body_attribute("name", "Dark side of the moon")
self.response.set_body_attribute("name", "Dark side of the moon")
prestans provides a well defined API to defined models for your REST API layer. These models are views on your persistent data and perform strong validation relfecting your business logic.

Expand Down

0 comments on commit 7f0428b

Please sign in to comment.