code: function Resource (options) {
      EventEmitter.call(this, { wildcard: true });
  
      options = options || {};
  
      this.method = options.method || 'get';
      this.route = options.route || '';
      this.middleware = [];
      this.properties = options.properties || {};
  
      return this;
  }
docs: Base Resource class /*
  Note: this class needs extending the prototype with a `_Request` class
  property in order to work correctly (See ./Resource-browser.js and
  ./Resource-server.js)