class UAT::Discovery::ConfiguredSinglePathProvider

Public Class Methods

new(append_service_path) click to toggle source

@param append_service_path [String] the path (if any) to append after the domain and port. Should include leading slash /

# File lib/uat/discovery/configured_path_provider.rb, line 5
def initialize(append_service_path)
  @append_service_path = append_service_path
end

Public Instance Methods

path_to_append_for(service_name) click to toggle source

@param service_name [String] the name of the service for which one would like to get the path - ignored @return [String]

# File lib/uat/discovery/configured_path_provider.rb, line 11
def path_to_append_for(service_name)
  @append_service_path
end