class RoadForest::TestSupport::RemoteHost

Public Class Methods

new(services) click to toggle source
Calls superclass method RoadForest::RemoteHost::new
# File lib/roadforest/test-support/remote-host.rb, line 6
def initialize(services)
  @app = RoadForest::Application.new(services)
  super(services.canonical_host)
end

Public Instance Methods

build_graph_store() click to toggle source
# File lib/roadforest/test-support/remote-host.rb, line 11
def build_graph_store
  RoadForest::SourceRigor::GraphStore.new
end
http_client() click to toggle source
# File lib/roadforest/test-support/remote-host.rb, line 15
def http_client
  @http_client ||= HTTPClient.new(@app, @url)
end
http_exchanges() click to toggle source
# File lib/roadforest/test-support/remote-host.rb, line 19
def http_exchanges
  http_client.exchanges
end