Class: Outbox::Messages::SMS
Overview
SMS tend to support very different types of parameters, so only the most common ones will be directly applied to the SMS message class. All of the other ones can be set using the arbitrary field access with
-
and []=.
sms = Outbox::Messages::SMS.new do
to '+14155551212'
from 'Company Name'
body 'Hellow world'
end
sms.client :twilio, api_key: '...'
sms.deliver
Instance Method Summary collapse
-
#audience=(audience) ⇒ Object
:nodoc:.
Methods inherited from Base
Methods included from Outbox::MessageFields
#[], #[]=, #fields, #fields=, included, #validate_fields
Methods included from Outbox::MessageClients
Constructor Details
This class inherits a constructor from Outbox::Messages::Base