Skip to content

Commit

Permalink
Added setCredentials Method
Browse files Browse the repository at this point in the history
Added setCredentials(username, password) Method
  • Loading branch information
andrewmcgivery committed Mar 31, 2015
1 parent f924b1e commit 74a2496
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions angular.soap.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ angular.module('angularSoap', [])
SOAPClient.invoke(url, action, soapParams, true, soapCallback);

return deferred.promise;
},
setCredentials: function(username, password){
SOAPClient.username = username;
SOAPClient.password = password;
}
}
}]);

0 comments on commit 74a2496

Please sign in to comment.