The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Raygun::Messenger - Communicate with the Raygun.io endpoint.

SYNOPSIS

  use WebService::Raygun::Messenger;

  my $raygun = WebService::Raygun::Messenger->new(api_key => 'your key here');
  my $response = $raygun->fire_raygun($raygun_message);
  # $response->status == ?

DESCRIPTION

Send a request to raygun.io.

INTERFACE

api_key

Your raygun.io API key. By default, this will be whatever is in the RAYGUN_API_KEY environment variable.

fire_raygun

Send data to api.raygun.io/entries via a POST request.