class Plivo::Resources::Media
Public Class Methods
Source
# File lib/plivo/resources/media.rb, line 5 def initialize(client, options = nil) @_name = 'Media' @_identifier_string = 'media_id' super end
Calls superclass method
Plivo::Base::Resource::new
Public Instance Methods
Source
# File lib/plivo/resources/media.rb, line 11 def to_s { content_type: @content_type, file_name: @file_name, api_id: @api_id, media_id: @media_id, size: @size, upload_time: @upload_time, url: @url }.to_s end