Skip to content

Commit

Permalink
chore(docs) Changes the store method docs
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgosera committed Oct 29, 2015
1 parent 517f243 commit 2bbe5eb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ Store.prototype.delete = function(modelName, pk) {
/**
* Handles the logic for getting an entry from the storage
*
* @param {String} pk - The entry's primary key
* @param {String} query - The query object
* @return {Promise} - A Promise
*
*/

Store.prototype.getEntry = function(pk) {
return Promise.reject(new Error('Store.prototype.getEntry() is not implemented'));
Store.prototype.getEntry = function(query) {
return Promise.reject(new Error('Store.prototype.getEntry(query) is not implemented'));
};

/**
Expand All @@ -76,18 +76,18 @@ Store.prototype.getEntry = function(pk) {
*
*/
Store.prototype.setEntry = function(obj) {
return Promise.reject(new Error('Store.prototype.setEntry() is not implemented'));
return Promise.reject(new Error('Store.prototype.setEntry(obj) is not implemented'));
};

/**
* Handles the logic for deleting an entry from the storage
*
* @param {String} pk - The entry's primary key
* @param {String} query - The query object
* @return {Promise} - A Promise
*
*/
Store.prototype.deleteEntry = function(pk) {
return Promise.reject(new Error('Store.prototype.deleteEntry() is not implemented'));
Store.prototype.deleteEntry = function(query) {
return Promise.reject(new Error('Store.prototype.deleteEntry(query) is not implemented'));
};

module.exports = Store;

0 comments on commit 2bbe5eb

Please sign in to comment.