':param record: Record to delete.
:type record: :class:`Record`
:return: Boolean'

def delete_record(self, record):

    action = ('/v1/zones/%s/%s/%s' % (record.zone.domain, record.name, record.type))
    try:
        response = self.connection.request(action=action, method='DELETE')
    except NsOneException:
        e = sys.exc_info()[1]
        if (e.message == 'record    not    found'):
            raise RecordDoesNotExistError(value=e.message, driver=self, record_id=record.id)
        else:
            raise e
    return (response.status == httplib.OK)
