lib/wrapper/client_wrapper.js
function(name,transform, provider_config, credentials, filefog_options){
        this.name = name;
        this.config = provider_config || {};
        this.credentials = credentials || {};
        this.filefog_options = extend(true, {transform:true, include_raw:true, auto_paginate:true,root_identifier:null}, filefog_options || {});
        this._transform = transform;

        base_client.call(this);
    }
function(name,transform, provider_config, credentials, filefog_options){
        this.name = name;
        this.config = provider_config || {};
        this.credentials = credentials || {};
        this.filefog_options = extend(true, {transform:true, include_raw:true, auto_paginate:true,root_identifier:null}, filefog_options || {});
        this._transform = transform;

        base_client.call(this);
    }
function ( name , transform , provider_config , credentials , filefog_options ) { this . name = name ; this . config = provider_config || { } ; this . credentials = credentials || { } ; this . filefog_options = extend ( true , { transform : true , include_raw : true , auto_paginate : true , root_identifier : null } , filefog_options || { } ) ; this . _transform = transform ; base_client . call ( this ) ; }
Wraps the provided base Client constructor and provides instance variables to be used by provider Clients.
@constructor ClientWrapper
@method ClientWrapper
@param {String} name - the name that the provider is registered with.
@param {Transform} transform - the provider specified transforms for all the client methods.
@param {Object} provider_config - the configuration for this client (OAuth client keys, etc)
@param {Object} credentials - the user specific credentials for the Client (access token, refresh token, etc)
@param {} filefog_options
@return
Wraps the provided base Client constructor and provides instance variables to be used by provider Clients .