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 => "http://badapp.org",
:uid => "123124123123",
:ip => "127.0.0.1",
:type => "ὕαλον ϕαγεῖν δύναμαι· τοῦτο οὔ με βλάπτει",
:server => "Test Script"
}
p = Arecibo.new(dict)
p.send
Source can be checked out of SVN at:
svn co http://arecibo.svn.beanstalkapp.com/clients/trunk/ruby/
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.
All the sample clients are in SVN, if you create your own client, please let us know.