Module: D13n::Metric::HTTPClients::HTTPHelper

Defined in:
lib/d13n/metric/http_clients/http_helper.rb

Instance Method Summary collapse

Instance Method Details

#endpointObject



7
8
9
# File 'lib/d13n/metric/http_clients/http_helper.rb', line 7

def endpoint
  Helper.endpoint_for(uri)
end

#serviceObject



3
4
5
# File 'lib/d13n/metric/http_clients/http_helper.rb', line 3

def service
  Helper.service_for(uri)
end

#service_endpointObject



11
12
13
# File 'lib/d13n/metric/http_clients/http_helper.rb', line 11

def service_endpoint
  [service, endpoint].join('.')
end