Skip to content

Commit

Permalink
Rename connect() method to client()
Browse files Browse the repository at this point in the history
  • Loading branch information
zarathustra323 committed Oct 12, 2018
1 parent b695453 commit bb6bb81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ class MarkingCloudSOAP {

/**
* Inits the SOAP client using the configured WSDL URL.
/**
* Inits and returns the SOAP client using the configured WSDL URL.
*
* @private
* @return {Promise}
*/
async connect() {
async client() {
if (!this.clientPromise) {
this.clientPromise = soap.createClientAsync(this.wsdl, this.soapOptions);
}
Expand Down

0 comments on commit bb6bb81

Please sign in to comment.