struct

Latch::Extractor::MimeFromExtension

Inherits Latch::Extractor / Struct / Value / Object

Constructors

Instance methods

extract(uploaded_file, metadata, **options) : String | Nil

Extracts the MIME type from the extension of the filename.

Source
initialize
Source