lib/HelloSignResource.js
function HelloSignResource(hellosign, urlData) {

    this._hellosign = hellosign;
    this._urlData = urlData || {};

    this.basePath = utils.makeURLInterpolator(hellosign.getApiField('basePath'));
    this.path = utils.makeURLInterpolator(this.path);

    if (this.includeBasic) {
        this.includeBasic.forEach(function(methodName) {
            this[methodName] = HelloSignResource.BASIC_METHODS[methodName];
        }, this);
    }

    this.initialize.apply(this, arguments);

}
function HelloSignResource(hellosign, urlData) {

    this._hellosign = hellosign;
    this._urlData = urlData || {};

    this.basePath = utils.makeURLInterpolator(hellosign.getApiField('basePath'));
    this.path = utils.makeURLInterpolator(this.path);

    if (this.includeBasic) {
        this.includeBasic.forEach(function(methodName) {
            this[methodName] = HelloSignResource.BASIC_METHODS[methodName];
        }, this);
    }

    this.initialize.apply(this, arguments);

}
function HelloSignResource ( hellosign , urlData ) { this . _hellosign = hellosign ; this . _urlData = urlData || { } ; this . basePath = utils . makeURLInterpolator ( hellosign . getApiField ( 'basePath' ) ) ; this . path = utils . makeURLInterpolator ( this . path ) ; if ( this . includeBasic ) { this . includeBasic . forEach ( function ( methodName ) { this [ methodName ] = HelloSignResource . BASIC_METHODS [ methodName ] ; } , this ) ; } this . initialize . apply ( this , arguments ) ; }
Encapsulates request logic for a HelloSign Resource
Encapsulates request logic for a HelloSign Resource