Class: Twilio::TwiML::ReferSip
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
<Sip> TwiML Noun used in <Refer>
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(sip_url, **keyword_args) {|_self| ... } ⇒ ReferSip
constructor
A new instance of ReferSip.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(sip_url, **keyword_args) {|_self| ... } ⇒ ReferSip
Returns a new instance of ReferSip.
327 328 329 330 331 332 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 327 def initialize(sip_url, **keyword_args) super(**keyword_args) @name = 'Sip' @value = sip_url yield(self) if block_given? end |