sync/src/configuration/emailconfig.js

30 lines
557 B
JavaScript
Raw Normal View History

2017-09-25 22:31:45 -07:00
class EmailConfig {
constructor(config) {
this.config = config;
}
getPasswordReset() {
const reset = this.config['password-reset'];
return {
getHTML() {
return reset['html-template'];
},
getText() {
return reset['text-template'];
},
getFrom() {
return reset['from'];
},
getSubject() {
return reset['subject'];
}
};
}
}
export { EmailConfig };