Class: Twilio::TwiML::Media
- Defined in:
- lib/twilio-ruby/twiml/messaging_response.rb
Overview
<Media> TwiML Noun
Instance Attribute Summary
Attributes inherited from TwiML
Instance Method Summary collapse
-
#initialize(url, **keyword_args) {|_self| ... } ⇒ Media
constructor
A new instance of Media.
Methods inherited from TwiML
#add_child, #add_text, #append, #comment, to_lower_camel_case, #to_s, #xml
Constructor Details
#initialize(url, **keyword_args) {|_self| ... } ⇒ Media
Returns a new instance of Media.
88 89 90 91 92 93 |
# File 'lib/twilio-ruby/twiml/messaging_response.rb', line 88 def initialize(url, **keyword_args) super(**keyword_args) @name = 'Media' @value = url yield(self) if block_given? end |