Class: Twilio::TwiML::Sip

Inherits:
TwiML
  • Object
show all
Defined in:
lib/twilio-ruby/twiml/voice_response.rb

Overview

<Sip> TwiML Noun

Instance Attribute Summary

Attributes inherited from TwiML

#name

Instance Method Summary collapse

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| ... } ⇒ Sip

Returns a new instance of Sip.

Yields:

  • (_self)

Yield Parameters:


1040
1041
1042
1043
1044
1045
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1040

def initialize(sip_url, **keyword_args)
  super(**keyword_args)
  @name = 'Sip'
  @value = sip_url
  yield(self) if block_given?
end