r /;
our $VERSION = '0.02';
use English '-no_match_vars';
use HTTP::Request::Common 'POST';
use JSON;
use LWP::UserAgent;
use Sys::Hostname;
use Time::Piece;
=head1 NAME
PagerDuty::Agent - A perl
is => 'ro',
isa => Int,
default => 5,
);
has json_serializer => (
is => 'ro',
builder => '_build_json_serializer',
lazy => 1,
);
has ua_obj => (
is =
'Content-Type' => 'application/json',
'Authorization' => 'Token token='.$self->routing_key(),
Content => $self->json_serializer()->encode($event),
);