registro-online
Version:
Biblioteca com funções para facilitar o registro on line de boletos bancários
17 lines (13 loc) • 441 B
JavaScript
var santander;
santander.prototype.checkOption = function(options){
var retorno = {
code:'',
msg:''
};
if(!options){
retorno.code = 2;
retorno.msg = "O array com as opções do registro de boletos é obrigatória. Utilize 'registro.santander(options, function(data){ return data})' onde options é um array com as opções de registro do boleto.";
}
return retorno;
}
module.exports = santander;