UNPKG

holly-sdk

Version:
22 lines (15 loc) 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Event = undefined; var _got = require("got"); var _got2 = _interopRequireDefault(_got); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var Event = exports.Event = function Event(app, event) { _classCallCheck(this, Event); this.app = app; this.id = event.id; this.action = event.action; };