Athena::MIME::Part::File
An abstraction that allows representing a file without needing to keep the file open.
Constructors
Class methods
mime_types
SourceInstance methods
content_type
Attempts to guess the content type of the file based on its path.
Falls back to application/octet-stream.
filename
Returns the name of the file, inferring it based on the basename of its path if not provided explicitly.