Sample Ruby Client

The Ruby client allows you to easily send errors via HTTP. The Ruby client can be used independently, or as part of a greater implementation. Quick example:

require 'arecibo'
dict = {
    :account => 'yourpublicaccountnumber',
    :priority => 1,
    :url => "",
    :uid => "123124123123",
    :ip => "",
    :type => "An error",
    :server => "Test Script"
p ="http://yoursite/v/1/", dict)


  • If using the http client, permission to make a HTTP post to the Arecibo server is needed.


  • No values are automatically set.
  • There is 10 second timeout set on the HTTP post to prevent hangs.

Project Versions

Table Of Contents

Previous topic

Sample Python Client

Next topic

Sample PHP Client

This Page