Skip to content

Commit

Permalink
[CS] Fix example which was using callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Jul 8, 2013
1 parent a58aace commit 296898c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -14,9 +14,8 @@ 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
Expand Down

0 comments on commit 296898c

Please sign in to comment.