Permalink
Browse files

add example using bertrpc gem

  • Loading branch information...
mojombo committed May 19, 2009
1 parent 098f4e2 commit 499430e82dc5da253e7b020d4935e3a44de1c185
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
@@ -52,6 +52,18 @@ Example BERT-RPC call for above example
<- {reply, 3}
+Using the BERTRPC gem to make calls to Ernie
+--------------------------------------------
+
+You can make BERT-RPC calls from Ruby with the [BERTRPC gem](http://github.com/mojombo/bertrpc):
+
+ require 'bertrpc'
+
+ svc = BERTRPC::Service.new('localhost', 8000)
+ svc.calc.add.call(1, 2)
+ # => 3
+
+
Contribute
----------

0 comments on commit 499430e

Please sign in to comment.