README.md in dispatch-rider-0.2.0 vs README.md in dispatch-rider-0.2.1
- old
+ new
@@ -21,10 +21,14 @@
Or install it yourself as:
$ gem install dispatch-rider
+If you are using DispatchRider with rails, run the installer:
+
+ $ rails generate dispatch_rider:install
+
## Usage
### Publisher
Setting up a publisher is simple.
@@ -172,10 +176,10 @@
destinations :sns_message_queue
subject "read_news"
def self.publish(news)
- publish({"headlines" => news.headlines})
+ new.publish({"headlines" => news.headlines})
end
end
```