code: function subEndpoints(prefix, suffixes) {
    return function () {
      Array.prototype.forEach.call(suffixes, function (suffix) {
        var path = prefix + suffix;
        createEndpointFromPath(path);
        console.log('  registered path %s', path);
      });
    }
  }
docs: Create a thunk to make a set of endpoints with a common prefix.
  
  The prefix is prepended to each suffix to make each path.
  
  Each endpoint must have a corresponding JSON file in the mocks directory.