Cross Reference: version_caller.rb
xref
: /
ontohub
/
lib
/
hets
/
version_caller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
version_caller.rb revision ddcf1a7ed9d595e97418e9bc607184006e57d606
module
Hets
class
VersionCaller
<
Caller
CMD
=
'version'
METHOD
= :
get
def
call
api_uri
=
build_api_uri
(
CMD
)
perform
(
api_uri
,
METHOD
)
.
try
(:
body
)
rescue
UriFetcher
::
Error
Rails.logger.warn
<<-MSG
==HETS== Hets Instance <#{hets_instance}> is currently not reachable.
MSG
nil
end
end
end