trolly/checklist.py
def update_name( self, name ):
        """
        Rename the current checklist item. Returns a new ChecklistItem object.
        """
        checklistitem_json = self.fetch_json(
            uri_path = self.base_uri + '/name',
            http_method = 'PUT',
            query_params = {'value': name}
        )

        return self.create_checklist_item(self.idCard, self.idChecklist, checklistitem_json)
def update_name( self, name ):
        """
        Rename the current checklist item. Returns a new ChecklistItem object.
        """
        checklistitem_json = self.fetch_json(
            uri_path = self.base_uri + '/name',
            http_method = 'PUT',
            query_params = {'value': name}
        )

        return self.create_checklist_item(self.idCard, self.idChecklist, checklistitem_json)
Rename the current checklist item. Returns a new ChecklistItem object.