lib/NotesService.php
public function update($id, array $note, array $options = array())
  {
    $attributes = array_intersect_key($note, array_flip(self::$keysToPersist));

    list($code, $updatedNote) = $this->httpClient->put("/notes/{$id}", $attributes, $options);
    return $updatedNote;
  }
public function update($id, array $note, array $options = array())
  {
    $attributes = array_intersect_key($note, array_flip(self::$keysToPersist));

    list($code, $updatedNote) = $this->httpClient->put("/notes/{$id}", $attributes, $options);
    return $updatedNote;
  }
public function update ( $ id , array $ note , array $ options = array ( ) ) { $ attributes = array_intersect_key ( $ note , array_flip ( self :: $ keysToPersist ) ) ; list ( $ code , $ updatedNote ) = $ this -> httpClient -> put ( "/notes/{$id}" , $ attributes , $ options ) ; return $ updatedNote ; }
Update a note

put '/notes/{id}'

Updates note information
If the note ID does not exist, this request will return an error

@param integer $id Unique identifier of a Note
@param array $note This array's attributes describe the object to be updated.
@param array $options Additional request's options.

@return array The resulting object representing updated resource.
Update a note