Skip to content

Commit

Permalink
Update plugin doc
Browse files Browse the repository at this point in the history
- This isn't being used right now, but it should be a first step towards 
having proper plugin documentation.
  • Loading branch information
ricardograca committed Nov 4, 2018
1 parent 2694023 commit 6551c02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/plugins/case-converter.js
Expand Up @@ -15,14 +15,12 @@ module.exports = function caseConverter(bookshelf) {

/**
* Monkey-patched Model class.
* @class Model
* @extends Model
*/
bookshelf.Model = bookshelf.Model.extend({

/**
* @method
* @description Converts attribute keys to camel case when fetching data from the database.
* @override
*/
parse: function(attrs) {
return _.mapKeys(attrs, function(value, key) {
Expand Down

0 comments on commit 6551c02

Please sign in to comment.