s;
our @ISA = qw();
our $VERSION = '0.04';
# Preloaded methods go here.
use MIME::Base64;
use JSON::XS;
use utf8;
# Configura as URLs de destino baseado na tag raiz
$WebService::BR::Vindi::Target
);
$class->{ua}->ssl_opts( verify_hostname => 0 );
$class->{ua}->env_proxy;
# JSON helper
$class->{json} = JSON::XS->new->allow_nonref->utf8;
bless( $class, $self );
}
#
# Make the next requ
).' if !$_[0]->{app};
$_[0]->{failsafe} = 1;
$_[0];
}
sub ua { shift->{ua} }
sub json { shift->{json} }
sub app { shift->{app} }
#
# Faz uma requisição
#
# @param $Endpoint Tipo