Cross Reference: hets_options.rb
xref
: /
ontohub
/
app
/
models
/
ontology
/
hets_options.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
hets_options.rb revision e5a38deea869b1ffcd8d4f578abb5e2a565ba7c6
module
Ontology
::
HetsOptions
extend
ActiveSupport
::
Concern
EXTENSIONS_TO_INPUT_TYPES
= {
'.tptp'
=>
'tptp'
,
'.p'
=>
'tptp'
}
def
hets_options
Hets
::
HetsOptions.new
(:
'url-catalog'
=>
repository.url
_maps
,
:
'access-token'
=>
repository.generate
_access_token
,
:
'input-type'
=>
EXTENSIONS_TO_INPUT_TYPES
[
file_extension
])
end
end