All pastes #619030 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-14 11:50 UTC
rendered paste body
import 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!'