from tipfy import RequestHandler, Response

class HomeHandler(RequestHandler):
    def get(self, **kwargs):
        return Response('home-get')

    def foo(self, **kwargs):
        return Response('home-foo')

    def bar(self, **kwargs):
        return Response('home-bar')


class OtherHandler(RequestHandler):
    def foo(self, **kwargs):
        return Response('other-foo')

    def bar(self, **kwargs):
        return Response('other-bar')


def home(request):
    return 'home'


def foo(request):
    return 'foo'


def bar(request):
    return 'bar'

from tipfy import RequestHandler, Response

class HomeHandler(RequestHandler):
    def get(self, **kwargs):
        return Response('home-get')

    def foo(self, **kwargs):
        return Response('home-foo')

    def bar(self, **kwargs):
        return Response('home-bar')


class OtherHandler(RequestHandler):
    def foo(self, **kwargs):
        return Response('other-foo')

    def bar(self, **kwargs):
        return Response('other-bar')


def home(request):
    return 'home'


def foo(request):
    return 'foo'


def bar(request):
    return 'bar'
