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
#append, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(message, **keyword_args) {|_self| ... } ⇒ Body
Returns a new instance of Body.
96 97 98 99 100 101 |
# File 'lib/twilio-ruby/twiml/messaging_response.rb', line 96 def initialize(, **keyword_args) super(**keyword_args) @name = 'Body' @value = yield(self) if block_given? end |