class RoadForest::SourceRigor::HTTPInvestigator

Public Instance Methods

pursue(investigation) click to toggle source
# File lib/roadforest/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