0.0
The project is in a healthy, maintained state
Error context for agents via Honeybadger for the ask-rb ecosystem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 5.25
~> 3.1
~> 13.0
~> 6.3
~> 3.23

Runtime

>= 0.1
>= 0.1
~> 2.0
 Project Readme

ask-honeybadger

Honeybadger — error tracking via the Honeybadger API

Part of the ask-rb ecosystem.

Installation

gem "ask-honeybadger"

Usage

require "ask-honeybadger"

# Get an authenticated client:
client = Ask::Honeybadger.client

# List faults for a project:
faults = client.get("/v2/projects/PROJECT_ID/faults")

# Or use the convenience helpers:
Ask::Honeybadger.recent_faults(project_id: "PROJECT_ID", limit: 10)
Ask::Honeybadger.fault_summary(project_id: "PROJECT_ID")
Ask::Honeybadger.fault(project_id: "PROJECT_ID", fault_id: 42)
Ask::Honeybadger.projects

Authentication

Set your Honeybadger API token in the environment:

export HONEYBADGER_TOKEN=your_token_here

Or add it to ~/.ask/credentials.yml:

honeybadger_token: your_token_here

Get your token at https://app.honeybadger.io/users/edit

Development

bundle exec rake test

License

MIT