Mine
public text v1 · immutableimport grok
class Foo(grok.Application, grok.Container):
pass
class Index(grok.View):
pass # see app_templates/index.pt
class FooXMLRPC(grok.XMLRPC):
"""The methods in this class will be available as XMLRPC methods
on 'Foo' applicaitons."""
def say(self):
return 'Hello world!'