(self, name, view_template)
return self.master.call('metadata/update', _params)
Update an existing custom metadata field.

        Args:
           name (string): the unique identifier of the metadata field to update
           view_template (string): optional Mustache template to control how the metadata is rendered in your activity log

        Returns:
           struct.  the information for the updated metadata field::
               name (string): the unique identifier of the metadata field to update
               state (string): the current state of the metadata field, one of "active", "delete", or "index"
               view_template (string): Mustache template to control how the metadata is rendered in your activity log

        Raises:
           InvalidKeyError: The provided API key is not a valid Mandrill API key
           UnknownMetadataFieldError: The provided metadata field name does not exist.
           Error: A general Mandrill error has occurred
Update an existing custom metadata field.
Update an existing custom metadata field .
def update(self, name, view_template):
        """Update an existing custom metadata field.

        Args:
           name (string): the unique identifier of the metadata field to update
           view_template (string): optional Mustache template to control how the metadata is rendered in your activity log

        Returns:
           struct.  the information for the updated metadata field::
               name (string): the unique identifier of the metadata field to update
               state (string): the current state of the metadata field, one of "active", "delete", or "index"
               view_template (string): Mustache template to control how the metadata is rendered in your activity log

        Raises:
           InvalidKeyError: The provided API key is not a valid Mandrill API key
           UnknownMetadataFieldError: The provided metadata field name does not exist.
           Error: A general Mandrill error has occurred
        """
        _params = {'name': name, 'view_template': view_template}
        return self.master.call('metadata/update', _params)
def update ( self , name , view_template ) : _params = { 'name' : name , 'view_template' : view_template } return self . master . call ( 'metadata/update' , _params )