struct
Latch::Extractor::MimeFromIO
- Latch::Extractor::MimeFromIO
- Struct
- Value
- Object
Included Modules
Defined in:
latch/extractor/mime_from_io.crConstructors
Instance Method Summary
-
#extract(uploaded_file, metadata, **options) : String | Nil
Extracts the MIME type from the IO.
- #initialize
Instance methods inherited from module Latch::Extractor
extract(uploaded_file : Latch::UploadedFile, metadata : MetadataHash, **options) : MetadataValue | Nil
extract
Constructor Detail
Instance Method Detail
def extract(uploaded_file, metadata, **options) : String | Nil
#
Extracts the MIME type from the IO.