class Twilio::TwiML::Number

<Number> TwiML Noun

Public Class Methods

new(phone_number, **keyword_args) { |self| ... } click to toggle source
Calls superclass method Twilio::TwiML::TwiML::new
     # File lib/twilio-ruby/twiml/voice_response.rb
1062 def initialize(phone_number, **keyword_args)
1063   super(**keyword_args)
1064   @name = 'Number'
1065   @value = phone_number
1066   yield(self) if block_given?
1067 end