module GroupDocs::Api::Helpers::MIME
Private Instance Methods
mime_type(filepath)
click to toggle source
Returns MIME
type for file. @api private
# File lib/groupdocs/api/helpers/mime_helper.rb, line 14 def mime_type(filepath) ::MIME::Types.type_for(filepath).first end