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