tlocal.in/send/ )
use 5.006;
use strict;
use warnings;
use LWP::UserAgent;
use URI::Escape;
use JSON;
use base 'SMS::Send::Driver';
our $VERSION = '1.00'; # VERSION
our $AUTHORITY = 'cpan:INDRAD
my ( $self, $res ) = @_;
# check status for success or failure
my $json = decode_json $res->content;
if ( $json->{'status'} eq 'failure' ) {
return;
} else {
return 1;
}