19 lines
334 B
JavaScript
19 lines
334 B
JavaScript
'use strict';
|
|
|
|
let constants = require('./constants');
|
|
let util = require('./util');
|
|
|
|
module.exports = {
|
|
create,
|
|
};
|
|
|
|
class Results {}
|
|
|
|
util.createMethods(Results.prototype, constants.objectTypes.RESULTS, [
|
|
'sortByProperty',
|
|
]);
|
|
|
|
function create(realmId, info) {
|
|
return util.createList(Results.prototype, realmId, info);
|
|
}
|