Class: Twilio::TwiML::Number
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
<Number> TwiML Noun
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(phone_number, **keyword_args) {|_self| ... } ⇒ Number
constructor
A new instance of Number.
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| ... } ⇒ Number
Returns a new instance of Number.
1830 1831 1832 1833 1834 1835 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1830 def initialize(phone_number, **keyword_args) super(**keyword_args) @name = 'Number' @value = phone_number yield(self) if block_given? end |