NAME

WebService::Raygun - Connect to the Raygun.io API

SYNOPSIS

use WebService::Raygun::Message;
use WebService::Raygun::Messenger;

  my $message = WebService::Raygun::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 = WebService::Raygun::Messenger->new( api_key => '<your raygun.io api key>' );
  my $response = $raygun->fire_raygun($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

WebService::Raygun::Messenger
WebService::Raygun::Message
WebService::Raygun::Message::Request
WebService::Raygun::Message::Environment
WebService::Raygun::Message::Error
WebService::Raygun::Message::Error::StackTrace