README.md in insque-0.6.0 vs README.md in insque-0.6.1
- old
+ new
@@ -25,10 +25,10 @@
### Sending
To broadcast message use:
```ruby
-Insque.broadcast :message_name, {:params => {:some => :params}}
+Insque.broadcast :message_name, { params: { some: :param } }
```
There is an easy way to use insque as background jobs processing. You can use `send_later` method to call any method of your rails models in background:
```ruby
@model = MyModel.first
@model.send_later :mymethod, 'some', 'params'