mirror of
https://github.com/zhigang1992/probot.git
synced 2026-06-15 10:27:43 +08:00
8 lines
216 B
JavaScript
8 lines
216 B
JavaScript
module.exports = class Plugin {
|
|
get api() {
|
|
const properties = Object.getOwnPropertyNames(this.constructor.prototype);
|
|
properties.splice(properties.indexOf('constructor'), 1);
|
|
return properties;
|
|
}
|
|
};
|