mieko / babysms

Dead-simple outgoing SMS for Ruby
MIT License
2 stars 0 forks source link

Add twilio adapter (Closes #1) #3

Closed patrickclery closed 5 years ago

patrickclery commented 5 years ago
patrickclery commented 5 years ago

https://www.twilio.com/docs/iam/test-credentials

In order to write test cases that expect and handle errors which depend on the state of Twilio, we provide magic inputs. For the case mentioned above, there is a magic phone number +15005550000 which, if you pass it as the 'PhoneNumber' parameter in a POST to IncomingPhoneNumbers, will always return an error saying the number is unavailable.

patrickclery commented 5 years ago

Closing completed on #4