class Twilio::TwiML::Siprec
<Siprec> TwiML
Noun
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 369 def initialize(**keyword_args) 370 super(**keyword_args) 371 @name = 'Siprec' 372 373 yield(self) if block_given? 374 end
Public Instance Methods
parameter(name: nil, value: nil, **keyword_args)
click to toggle source
Create a new <Parameter> element
- name
-
The name of the custom parameter
- value
-
The value of the custom parameter
- keyword_args
-
additional attributes
# File lib/twilio-ruby/twiml/voice_response.rb 381 def parameter(name: nil, value: nil, **keyword_args) 382 append(Parameter.new(name: name, value: value, **keyword_args)) 383 end