Method: Twilio::TwiML::Sip#initialize

Defined in:
lib/twilio-ruby/twiml/voice_response.rb

#initialize(sip_url, **keyword_args) {|_self| ... } ⇒ Sip

Returns a new instance of Sip.

Yields:

  • (_self)

Yield Parameters:



1808
1809
1810
1811
1812
1813
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1808

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