README.md in ribose-0.3.2 vs README.md in ribose-0.4.0
- old
+ new
@@ -263,10 +263,22 @@
Ribose::FileVersion.fetch(
space_id: space_id, file_id: file_id, version_id: version_id
)
```
+#### Create a new file version
+
+```ruby
+Ribose::FileVersion.create(
+ space_id: your_space_id,
+ file_id: existing_file_id_in_space,
+ file: file_path_for_the_new_version,
+
+ **any_other_additional_attributes
+)
+```
+
### Conversations
#### Listing Space Conversations
```ruby
@@ -391,9 +403,19 @@
To retrieve the list of connections, we can use the `Connection.all` interface
and it will return the connection as `Sawyer::Resource`.
```ruby
Ribose::Connection.all
+```
+
+#### Disconnect a connection
+
+To disconnect with an existing connection, we can use `Connection.disconnect`
+interface as following. This expect us to provide the connection id, and it also
+support an additional options hash to provide custom options.
+
+```ruby
+Ribose::Connection.disconnect(connection_id, options)
```
#### Connection suggestions
To retrieve the list of user connection suggestions,