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

NAME

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

SYNOPSIS

  use WebService::Raygun::Message::Environment;
  my $environment = WebService::Raygun::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 prepare_raygun method may be called to retreive the structure in a form that can be converted directly to JSON.

INTERFACE

prepare_raygun

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

DEPENDENCIES

SEE ALSO