[Checkins] SVN: grokcore.rest/trunk/src/grokcore/rest/interfaces.py update the API definition for grokcore.rest
Jan Wijbrand Kolman
cvs-admin at zope.org
Tue May 1 10:15:55 UTC 2012
Log message for revision 125463:
update the API definition for grokcore.rest
Changed:
U grokcore.rest/trunk/src/grokcore/rest/interfaces.py
-=-
Modified: grokcore.rest/trunk/src/grokcore/rest/interfaces.py
===================================================================
--- grokcore.rest/trunk/src/grokcore/rest/interfaces.py 2012-05-01 10:15:20 UTC (rev 125462)
+++ grokcore.rest/trunk/src/grokcore/rest/interfaces.py 2012-05-01 10:15:51 UTC (rev 125463)
@@ -30,19 +30,23 @@
REST = interface.Attribute("Base class for REST views.")
-class IREST(grokcore.component.interfaces.IGrokcoreComponentAPI,
+class IGrokcoreRestAPI(grokcore.component.interfaces.IGrokcoreComponentAPI,
grokcore.security.interfaces.IGrokcoreSecurityAPI,
grokcore.view.interfaces.IGrokcoreViewAPI,
IBaseClasses):
- context = interface.Attribute("Object that the REST handler presents.")
- request = interface.Attribute("Request that REST handler was looked"
- "up with.")
+ IRESTSkinType = interface.Attribute('The REST skin type')
body = interface.Attribute(
"""The text of the request body.""")
+ context = interface.Attribute(
+ "Object that the REST handler presents.")
+ request = interface.Attribute(
+ "Request that REST handler was looked up with.")
+
+
class IRESTLayer(IHTTPRequest):
"""REST-specific Request functionality.
More information about the checkins
mailing list