class Arkaan::Monitoring::Route

A route is an endpoint accessible in a service. Each route has to have an associated endpoint in the deployed instances. @param Vincent Courtois <courtois.vincent@outlook.com>

Public Instance Methods

complete_path() click to toggle source

Returns the complete path, enriched with the path of the service. @return [String] the complete path to access this route from the outside.

# File lib/arkaan/monitoring/route.rb, line 40
def complete_path
  path == '/' ? service.path : "#{service.path}#{path}"
end