def install_module(app):
    """Installs this localmodule."""
    install_module

class IndexResource(object):

    def on_get(self, req, res):
        res.body = 'Hello. This is app.'


def install_module(app):
    """Installs this localmodule."""
    app.api.add_route('/', IndexResource())

Add IndexResource to example module.
Add IndexResource to example module.

+ class IndexResource(object):
+ 
+     def on_get(self, req, res):
+         res.body = 'Hello. This is app.'
+ 
+ 
  def install_module(app):
      """Installs this localmodule."""
-     install_module
+     app.api.add_route('/', IndexResource())
  
Add IndexResource to example module.
## Code Before:
def install_module(app):
    """Installs this localmodule."""
    install_module

## Instruction:
Add IndexResource to example module.
## Code After:
class IndexResource(object):

    def on_get(self, req, res):
        res.body = 'Hello. This is app.'


def install_module(app):
    """Installs this localmodule."""
    app.api.add_route('/', IndexResource())
