Class: Twilio::TwiML::Say
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
<Say> TwiML Verb
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(message, **keyword_args) {|_self| ... } ⇒ Say
constructor
A new instance of Say.
Methods inherited from TwiML
#append, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(message, **keyword_args) {|_self| ... } ⇒ Say
Returns a new instance of Say.
205 206 207 208 209 210 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 205 def initialize(, **keyword_args) super(**keyword_args) @name = 'Say' @value = yield(self) if block_given? end |