By Tom Preston-Werner ([email protected])
WARNING: This software is alpha and should not be used in production without extensive testing. You should not consider this project production ready until it is released as 1.0.
BERTRPC is a Ruby BERT-RPC client library.
gem install mojombo-bertrpc -s http://gems.github.com
require 'bertrpc'
svc = BERTRPC::Service.new('localhost', 9999)
svc.calc.add.call(1, 2)
# => 3
This generates a BERT-RPC request like so:
-> {call, calc, add, [1, 2]}
Copyright (c) 2009 Tom Preston-Werner. See LICENSE for details.