NAME

Raygun4perl::Message::Environment - Represent the Environment data in a raygun request.

SYNOPSIS

use Raygun4perl::Message::Environment;
my $environment = Raygun4perl::Message::Environment->new(
  processor_count       => 2,
  cpu                   => 34,
  architecture          => 'x84',
  total_physical_memory => 3
);

DESCRIPTION

The environment data is all optional and may be left blank. This class just initialises them with empty strings or 1s or 0s depending on the context. The arm_the_laser method may be called to retreive the structure in a form that can be converted directly to JSON.

INTERFACE

arm_the_laser

Return the data structure that will be sent to raygun.io

DEPENDENCIES

SEE ALSO