Class: Twilio::TwiML::Header
- Defined in:
- lib/twilio-ruby/twiml/voice_response.rb
Overview
A custom SIP header to include in the request
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(**keyword_args) {|_self| ... } ⇒ Header
constructor
A new instance of Header.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(**keyword_args) {|_self| ... } ⇒ Header
Returns a new instance of Header.
1912 1913 1914 1915 1916 1917 |
# File 'lib/twilio-ruby/twiml/voice_response.rb', line 1912 def initialize(**keyword_args) super(**keyword_args) @name = 'Header' yield(self) if block_given? end |