@jorsek/ezd-client
Version:
20 lines (15 loc) • 409 B
JavaScript
function RootMap(conn) {
this._conn = conn;
}
RootMap.prototype = {
getSections: function(options) {
//return this._conn.get('sections', options);
return this._conn.get('getSections.xql', options);
},
getNamedGroup: function(options) {
//return this._conn.get('sections', options);
return this._conn.get('getNamedGroup.xql', options);
}
}
module.exports = RootMap;
;