Class: CloudFS::Audio

Inherits:
File show all
Defined in:
lib/cloudfs/media.rb

Overview

Audio class initializes the type of the file, not used currently

REVIEW:

  • Not creating file objects based on mime type, since save operation cannot update the class of file object, if mime is changed

Instance Attribute Summary

Attributes inherited from File

#extension, #mime, #size

Attributes inherited from Item

#blocklist_id, #blocklist_key, #date_content_last_modified, #date_created, #date_meta_last_modified, #id, #is_mirrored, #name, #parent_id, #type, #url, #version

Method Summary

Methods inherited from File

#download, #download_url, #initialize, #read, #rewind, #seek, #tell

Methods inherited from Item

#application_data, #application_data=, #change_attributes, #copy, #delete, #exists?, #in_share?, #in_trash?, #initialize, #move, #old_version?, #path, #refresh, #restore, #save, #versions

Constructor Details

This class inherits a constructor from CloudFS::File