The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.