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