class Twilio::TwiML::Refer
<Refer> TwiML
Verb
Public Class Methods
new(**keyword_args) { |self| ... }
click to toggle source
Calls superclass method
Twilio::TwiML::TwiML::new
# File lib/twilio-ruby/twiml/voice_response.rb 299 def initialize(**keyword_args) 300 super(**keyword_args) 301 @name = 'Refer' 302 303 yield(self) if block_given? 304 end
Public Instance Methods
sip(sip_url, **keyword_args)
click to toggle source
Create a new <Sip> element
- sip_url
-
SIP URL
- keyword_args
-
additional attributes
# File lib/twilio-ruby/twiml/voice_response.rb 310 def sip(sip_url, **keyword_args) 311 append(ReferSip.new(sip_url, **keyword_args)) 312 end