README.md in syncano-3.1.1.beta2 vs README.md in syncano-3.1.1.beta3
- old
+ new
@@ -8,19 +8,19 @@
## Installation
Add this line to your application's Gemfile:
- gem 'syncano', '~> 3.1.1.beta2'
+ gem 'syncano', '~> 3.1.1.beta3'
And then execute:
$ bundle
Or install it yourself as:
- $ gem install syncano -v 3.1.1.beta2 --pre
+ $ gem install syncano -v 3.1.1.beta3 --pre
At the end generate initializer with api key and api instance name:
$ rails g syncano:install
@@ -271,10 +271,10 @@
Before you will receive any notification, you have to subscribe to some project or collection:
```ruby
client = Syncano.sync_client
-project = client.project.find(project_id)
+project = client.projects.find(project_id)
project.subscribe
```
If you want to stop receiving notifications, you have to unsubscribe:
```ruby