Skip to content

Commit

Permalink
docs formatting update for new autoRestore flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Jones committed Nov 17, 2015
1 parent 9faea3d commit f125b79
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/service/run-api-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ module.exports = function (config) {
filter: '',

/**
* Convenience alias for filter
* Convenience alias for filter.
* @type {String}
*/
id: '',

/**
* Flag determines if X-AutoRestore: true header is sent to Epicenter. Defaults to true.
* Flag determines if `X-AutoRestore: true` header is sent to Epicenter. Defaults to `true`.
* @type {boolean}
*/
autoRestore: true,
Expand Down Expand Up @@ -292,7 +292,6 @@ module.exports = function (config) {
},


//Saving data
/**
* Save attributes (data, model variables) of the run.
*
Expand All @@ -315,7 +314,6 @@ module.exports = function (config) {
return http.patch(attributes, httpOptions);
},

//##Operations
/**
* Call a method from the model.
*
Expand Down Expand Up @@ -387,7 +385,7 @@ module.exports = function (config) {
* { name: 'runmodel', params: [] }]);
*
* **Parameters**
* @param {Array[String]|Array[Object]} `operations` If none of the methods take parameters, pass an array of the method names (strings). If any of the methods do take parameters, pass an array of objects, each of which contains a method name and its own (possibly empty) array of parameters.
* @param {Array} `operations` If none of the methods take parameters, pass an array of the method names (strings). If any of the methods do take parameters, pass an array of objects, each of which contains a method name and its own (possibly empty) array of parameters.
* @param {*} `params` Parameters to pass to operations.
* @param {Object} `options` (Optional) Overrides for configuration options.
*/
Expand Down

0 comments on commit f125b79

Please sign in to comment.