lib/firstclasspostcodes/client.rb
# The Configuration object holding settings to be used in the API client.
The Configuration object holding settings to be used in the API client.
The Configuration object holding settings to be used in the API client .
def build_request_url(path)
      path = "/#{path}".gsub(%r{/+}, "/")
      @config.base_url + path
    end
def build_request_url ( path ) path = "/#{path}" . gsub ( %r{ /+ } , "/" ) @config . base_url + path end
The Configuration object holding settings to be used in the API client.
The Configuration object holding settings to be used in the API client .
# Add leading and trailing slashes to path
path
<not_specific>