Class: VoiceML::MediaList
- Inherits:
-
Object
- Object
- VoiceML::MediaList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/media.rb
Overview
Paginated GET /Messages/{Sid}/Media response. Twilio's envelope key is
media_list (not media) — the SDK preserves that on the wire.
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#media_list ⇒ Object
readonly
Returns the value of attribute media_list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ MediaList
constructor
A new instance of MediaList.
Methods included from Pageable
Constructor Details
Instance Attribute Details
#media_list ⇒ Object (readonly)
Returns the value of attribute media_list.
37 38 39 |
# File 'lib/voiceml/models/media.rb', line 37 def media_list @media_list end |
Class Method Details
.from_hash(hash) ⇒ Object
44 45 46 |
# File 'lib/voiceml/models/media.rb', line 44 def self.from_hash(hash) new(hash || {}) end |