Sha256: 1ad4bdc58c11e9a0c04d4b16b32092612e2b5ddb470bf17a712ecf94cc7a19fb
Contents?: true
Size: 486 Bytes
Versions: 15
Compression:
Stored size: 486 Bytes
Contents
First, follow the [Twilio Setup](twilio-setup.md) guide for creating a Twilio account and setting up environment variables with the proper credentials. Then, initialize the Twilio Email Client. ```ruby mail_client = TwilioEmail::API(username: ENV['TWILIO_API_KEY'], password: ENV['TWILIO_API_SECRET']) # or mail_client = TwilioEmail::API(username: ENV['TWILIO_ACCOUNT_SID'], password: ENV['TWILIO_AUTH_TOKEN']) ``` This client has the same interface as the `SendGrid::API` client.
Version data entries
15 entries across 15 versions & 1 rubygems