@Service public class TwilioClient extends Object
| Constructor and Description |
|---|
TwilioClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
initializeTwilio() |
TwilioMessageLog |
send(TwilioMessage message)
Sends a Twilio message, persists the returned Message/Status and returns that log to the caller.
|
@PostConstruct public void initializeTwilio()
public TwilioMessageLog send(TwilioMessage message) throws FailedDependencyException
message - FailedDependencyExceptionCopyright © 2019. All rights reserved.