geckoboard-push
Version:
Send data to Geckoboard via their new push API
17 lines (13 loc) • 434 B
JavaScript
var Base = require('./GeckoboardPushSend');
module.exports = GeckoboardPushList;
function GeckoboardPushList(params, widget_key) {
this.options = params;
this.options.widget_key = widget_key;
this.prototype = new Base(this.options);
}
GeckoboardPushList.prototype.send = function(items, callback) {
/*
http://www.geckoboard.com/developers/custom-widgets/widget-types/list
*/
this.prototype.send(items, callback);
}