0.04';
# ABSTRACT: Airbrake Notifier API V2 Client
use Net::Airbrake 0.02;
use JSON::MaybeXS qw(encode_json decode_json);
use XML::Simple qw(xml_in xml_out);
our @ISA = 'Net::Airbrake';
# Net::Ai
sub convert_request {
my ($self, $req, $opts) = @_;
my $string = !ref $req;
$req = decode_json($req) if $string;
$opts ||= {};
my $mod = $opts->{mod} || ref($self) || $self;
my $ap
SuppressEmpty => 1,
XMLDecl => q[<?xml version="1.0" encoding="utf-8"?>],
);
# decode_json should return a structure with character strings,
# and XML::Simple doesn't encode until writin