UNPKG

@jorsek/ezd-client

Version:
20 lines (15 loc) 409 B
'use strict'; 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;