aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron/Settings.js
blob: 049a0829672894fb4ffcb59caf0bf989092485ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default class Settings {
  store = {};

  set(settings) {
    this.store = Object.assign(this.store, settings);
  }

  all() {
    return this.store;
  }

  get(key) {
    return this.store[key];
  }
}