NAME

Raygun4perl - Connect to the Raygun.io API

SYNOPSIS

use Raygun4perl::Message;
use Raygun4perl::Messenger;

  my $message = Raygun4perl::Message->new(
      user => 'null@null.com',
      client => {
          name      => 'something',
          version   => 2,
          clientUrl => 'www.null.com'
      },
      error       => {
          stack_trace => [ { line_number => 34 } ]
      },
      environment => {
          processor_count       => 2,
          cpu                   => 34,
          architecture          => 'x84',
          total_physical_memory => 3
      },
      request => HTTP::Request->new(
          POST => 'https://www.null.com',
          [ 'Content-Type' => 'text/html', ]
      ),

  );

  my $message = $message->arm_the_laser;
  my $raygun = Raygun4perl::Messenger->new( api_key => '<your raygun.io api key>' );
  my $response = $raygun->fire_the_laser($message);

DESCRIPTION

Interface for the Raygun.io API.

DEPENDENCIES

You will need to have an API key from raygun.io. By default, this module checks $ENV{RAYGUN_API_KEY}.

DateTime
DateTime::Format::Strptime
Filesys::DfPortable
HTTP::Request
JSON
LWP::UserAgent
Mouse
Mouse::Util::TypeConstraints
Mozilla::CA
POSIX
Sys::Info
Sys::Info::OS
URI
Test::Class
Test::Deep
Test::Exception
Test::More
parent
strict
warnings

SEE ALSO

Raygun4perl::Messenger
Raygun4perl::Message
Raygun4perl::Message::Request
Raygun4perl::Message::Environment
Raygun4perl::Message::Error
Raygun4perl::Message::Error::StackTrace