Searched defs:filetype (Results 1 - 2 of 2) sorted by relevance

/ontohub/app/controllers/
H A Dfiletypes_controller.rb11 def filetype method in class:FiletypesController
13 @filetype ||= Hets::FiletypeCaller.new(hets_instance).call(params[:iri])
18 iri, mime_type = filetype.split(': ')
/ontohub/lib/
H A Dhets.rb45 def self.filetype(resource) singleton method in class:Hets
49 response_iri, filetype = filetype_caller.call(iri).split(': ')
52 Mime::Type.lookup(filetype)
54 raise FiletypeNotDeterminedError.new("#{response_iri}: #{filetype}")

Completed in 28 milliseconds