Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A base library for Hoptoad error reporting

branch: master

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 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 toadhopper.gemspec
README.md

A base library for Hoptoad error reporting.

Toadhopper can be used to report plain old Ruby exceptions, or to build a framework-specific gem such as toadhopper-sinatra.

require 'toadhopper'

dispatcher = Toadhopper::Dispatcher.new("YOURAPIKEY")

error = begin; raise "Kaboom!"; rescue => e; e; end

puts dispatcher.post!(error)

You can install it via rubygems:

gem install toadhopper

Development

% git clone git://github.com/toolmantim/toadhopper.git
% cd toadhopper
% gem bundle
% bin/rake test
% bin/rake doc && open doc/index.html

Contributors

Something went wrong with that request. Please try again.