Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

BERTRPC is a Ruby BERT-RPC client library.

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 bertrpc.gemspec
README.md

BERTRPC

By Tom Preston-Werner (tom@mojombo.com)

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.

Description

BERTRPC is a Ruby BERT-RPC client library.

Installation

gem install mojombo-bertrpc -s http://gems.github.com

Example

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

Copyright (c) 2009 Tom Preston-Werner. See LICENSE for details.

Something went wrong with that request. Please try again.