Skip to content

Commit

Permalink
change comment style for private
Browse files Browse the repository at this point in the history
  • Loading branch information
narenranjit committed Nov 17, 2015
1 parent 29ceeaf commit 9faea3d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/service/asset-api-adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,14 @@ module.exports = function (config) {
}
return urlConfig.getAPIPath(apiEndpoint) + parts.join('/') + filename;
};
/**
* Private function, all requests follow a more or less same approach to use the Asset API and the difference is the HTTP verb
* @param {String} `method` (Required) HTTP verb
* @param {String} `filename` (Required) Name of the file to delete/replace/create
* @param {Object} `params` (Optional) Body parameters to send to the Asset API
* @param {Object} `options` (Optional) Options object to override global options.
*/

// Private function, all requests follow a more or less same approach to
// use the Asset API and the difference is the HTTP verb
//
// @param {string} `method` (Required) HTTP verb
// @param {string} `filename` (Required) Name of the file to delete/replace/create
// @param {object} `params` (Optional) Body parameters to send to the Asset API
// @param {object} `options` (Optional) Options object to override global options.
var upload = function (method, filename, params, options) {
validateFilename(filename);
// make sure the parameter is clean
Expand Down

0 comments on commit 9faea3d

Please sign in to comment.