class Honeybadger::CLI::Test

def generate_success_message(response)

def generate_success_message(response)
  notice_id = JSON.parse(response.body)['id']
  notice_url = "https://app.honeybadger.io/notice/#{notice_id}"
  unless options[:install]
    return "⚡ Success: #{notice_url}"
  end
  <<-MSG
Honeybadger is installed! -----------------------------------------------
ews: You're one deploy away from seeing all of your exceptions in
adger. For now, we've generated a test exception for you:
tice_url}
al steps:
ow a feedback form on your error page:
tps://docs.honeybadger.io/gem-feedback
ow a UUID or link to Honeybadger on your error page:
tps://docs.honeybadger.io/gem-informer
ack deployments (if you're using Capistrano, we already did this):
tps://docs.honeybadger.io/gem-deploys
 ever need help:
ad the gem troubleshooting guide: https://docs.honeybadger.io/gem-troubleshooting
eck out our documentation: https://docs.honeybadger.io/
ail the founders: support@honeybadger.io
eople don't realize that Honeybadger is a small, bootstrapped company. We
 couldn't do this without you. Thank you for allowing us to do what we
making developers awesome.
'badgering!
ely,
neybadger Crew
//www.honeybadger.io/about/
End --------------------------------------------------------------------
end