Indicator as Clean Architecture

This commit is contained in:
Shin'ya Ueoka 2018-07-22 15:39:23 +09:00
parent b130fd5268
commit 42d902982a
7 changed files with 77 additions and 2 deletions

View file

@ -0,0 +1,11 @@
import AddonEnabledInteractor from '../usecases/addon-enabled';
export default class AddonEnabledController {
constructor() {
this.addonEnabledInteractor = new AddonEnabledInteractor();
}
indicate(enabled) {
this.addonEnabledInteractor.indicate(enabled);
}
}