public function fetchContent()
    {
        $response = $this->executeJson(
            sprintf(
                'project/%s/resource/%s/content/',
                $this->ensureParameter('project'),
                $this->ensureParameter('slug')
            )
        );

        $this->setContent($response['content']);
        $this->setMimetype($response['mimetype']);

        return $this;
    }