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