README.md in ruby_fs-0.1.0 vs README.md in ruby_fs-0.2.0
- old
+ new
@@ -6,12 +6,16 @@
## Usage
```ruby
require 'ruby_fs'
-client = RubyFS::Stream.new '127.0.0.1', 8021, 'ClueCon', lambda { |e| p e }
+stream = RubyFS::Stream.new '127.0.0.1', 8021, 'ClueCon', lambda { |e| p e }
-client.start
+stream.run
+
+stream.api 'originate sofia/mydomain.com/ext@yourvsp.com 1000' do |response|
+ puts "Originate response was #{response.inspect}"
+end
```
## Links
* [Source](https://github.com/adhearsion/ruby_fs)
* [Documentation](http://rdoc.info/github/adhearsion/ruby_fs/master/frames)