http://github.com/luckythetourist/bertclient
Usage from the README:
require 'bertclient'
client = BERT::Client.new(:host => 'localhost',
:port => 9999,
:ssl => true,
:verify_ssl => false)
client.call(:calc, :add, 1, 2)
You can also use blocks to create ephemeral connections:
BERT::Client.new(opts) do |client|
client.call(:auth, :authenticate, user, password)
client.call(:calc, :add, 1, 2)
end # client disconnects when block exits
--
Jared "Lucky" Kuolt