public function options()
    {
        $options = array();

        $resourceMetadata = $this->app->getResourceMetadata($this);

        foreach ($resourceMetadata->getMethods() as $method => $methodMetadata) {
            $options[] = strtoupper($method);
        }

        return new Response(200, $options, array(
            'Allow' => implode(',', $options)
        ));
    }