Class: RoadForest::RDF::SourceRigor::HTTPInvestigator
- Inherits:
-
Investigator
- Object
- Investigator
- RoadForest::RDF::SourceRigor::HTTPInvestigator
- Defined in:
- lib/roadforest/rdf/source-rigor/http-investigator.rb
Instance Method Summary collapse
Methods inherited from Investigator
Methods included from Utility::ClassRegistry::Registrar
extended, #get, #register, #registry
Instance Method Details
#pursue(investigation) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/roadforest/rdf/source-rigor/http-investigator.rb', line 7 def pursue(investigation) response = investigation.make_request("GET", investigation.context_roles[:subject]) case response when HTTP::GraphResponse investigation.insert_graph(response.url, response.graph) when HTTP::UnparseableResponse #Do nothing end end |