'Delete a record.
:param record: Record to delete.
:type  record: :class:`Record`
:rtype: ``bool``'

def delete_record(self, record):

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