SCRIPTION
L<Pushwoosh|http://www.pushwoosh.com/> is a push notification service which
provides a JSON API for users of its premium account. This module provides a
simple Perl wrapper around that API.
the possible error codes.
=back
=cut
our $VERSION = '0.02';
use Carp;
use Furl;
use JSON qw(from_json to_json);
use Params::Validate qw(validate validate_with validate_pos :types);
use Try::Tiny;
@_,
{ app_code => 1,
api_token => 1,
api_url => { default => 'https://cp.pushwoosh.com/json/1.3' },
furl => 0,
error_mode => { default => 'croak' },
}
);
$args{furl} ||= Furl