mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: Payment system with voucher cards.
feat: Design with inversion dependency injection architecture. feat: Prettier http middleware. feat: Re-write items categories with preferred accounts.
This commit is contained in:
13
server/src/services/SMSClient/SMSAPI.ts
Normal file
13
server/src/services/SMSClient/SMSAPI.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import SMSClientInterface from '@/services/SMSClient/SMSClientInterface';
|
||||
|
||||
export default class SMSAPI {
|
||||
smsClient: SMSClientInterface;
|
||||
|
||||
constructor(smsClient: SMSClientInterface){
|
||||
this.smsClient = smsClient;
|
||||
}
|
||||
|
||||
sendMessage(to: string, message: string, extraParams: [], extraHeaders: []) {
|
||||
return this.smsClient.send(to, message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user