Class: Twilio::TwiML::Sms
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
<Sms> TwiML Noun
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(message, **keyword_args) {|_self| ... } ⇒ Sms
constructor
A new instance of Sms.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(message, **keyword_args) {|_self| ... } ⇒ Sms
Returns a new instance of Sms.
1451 1452 1453 1454 1455 1456 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1451 def initialize(, **keyword_args) super(**keyword_args) @name = 'Sms' @value = yield(self) if block_given? end |