lib/resource.js
function Resource(attributes) {
  this.engine = engine;
  this.name = !this.name ? this.name : this.name.toLowerCase();
  this.queryParams = {};
  this.attributes = {};
  this.load(attributes || {});
}
function Resource(attributes) {
  this.engine = engine;
  this.name = !this.name ? this.name : this.name.toLowerCase();
  this.queryParams = {};
  this.attributes = {};
  this.load(attributes || {});
}
function Resource ( attributes ) { this . engine = engine ; this . name = ! this . name ? this . name : this . name . toLowerCase ( ) ; this . queryParams = { } ; this . attributes = { } ; this . load ( attributes || { } ) ; }
Base resource. All resources inherit from it.

@param {Object} attributes to be set
@constructor
Base resource . All resources inherit from it .