def endpoint(version, service)
      base = get_wsdl_base(version)
      if !subdir_config().nil?
        base = base.to_s + subdir_config()[[version, service]].to_s
      end
      return base.to_s + version.to_s + '/' + service.to_s
    end
def endpoint(version, service)
      base = get_wsdl_base(version)
      if !subdir_config().nil?
        base = base.to_s + subdir_config()[[version, service]].to_s
      end
      return base.to_s + version.to_s + '/' + service.to_s
    end
def endpoint ( version , service ) base = get_wsdl_base ( version ) if ! subdir_config ( ) . nil? base = base . to_s + subdir_config ( ) [ [ version , service ] ] . to_s end return base . to_s + version . to_s + '/' + service . to_s end
Get the endpoint for a service on a given API version.

 Args:
 - version: the API version
 - service: the name of the API service

 Returns:
 The endpoint URL
Get the endpoint for a service on a given API version .