client/splunk.js
function(service, qualifiedPath) {
            if (!service) {
                throw new Error("Passed in a null Service.");
            }

            if (!qualifiedPath) {
                throw new Error("Passed in an empty path.");
            }

            this.service = service;
            this.qualifiedPath = qualifiedPath;

            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this.get    = utils.bind(this, this.get);
            this.post   = utils.bind(this, this.post);
            this.del    = utils.bind(this, this.del);
        }
function(service, qualifiedPath) {
            if (!service) {
                throw new Error("Passed in a null Service.");
            }

            if (!qualifiedPath) {
                throw new Error("Passed in an empty path.");
            }

            this.service = service;
            this.qualifiedPath = qualifiedPath;

            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this.get    = utils.bind(this, this.get);
            this.post   = utils.bind(this, this.post);
            this.del    = utils.bind(this, this.del);
        }
function ( service , qualifiedPath ) { if ( ! service ) { throw new Error ( "Passed in a null Service." ) ; } if ( ! qualifiedPath ) { throw new Error ( "Passed in an empty path." ) ; } this . service = service ; this . qualifiedPath = qualifiedPath ; // We perform the bindings so that every function works  // properly when it is passed as a callback. this . get = utils . bind ( this , this . get ) ; this . post = utils . bind ( this , this . post ) ; this . del = utils . bind ( this , this . del ) ; }
Constructor for `splunkjs.Service.Endpoint`.

@constructor
@param {splunkjs.Service} service A `Service` instance.
@param {String} qualifiedPath A fully-qualified relative endpoint path (for example, "/services/search/jobs").
@return {splunkjs.Service.Endpoint} A new `splunkjs.Service.Endpoint` instance.

@method splunkjs.Service.Endpoint
Constructor for splunkjs . Service . Endpoint .