public function createAttachment($idOrKey, $fileHandle)
    {
        if (gettype($fileHandle) != 'resource') {
            throw new \RuntimeException(sprintf('createAttachment() expects parameter 2 to be resource, %s given', gettype($fileHandle)));
        }

        return $this->postFile(sprintf('issue/%s/attachments', $idOrKey), $fileHandle);
    }