def add(service)
      initialize_instance_variables
      @services << service if service.is_a?(OData::Service) && !@services.include?(service)
      @services_by_name[service.name] = @services.find_index(service)
      @services_by_url[service.service_url] = @services.find_index(service)
    end
def add(service)
      initialize_instance_variables
      @services << service if service.is_a?(OData::Service) && !@services.include?(service)
      @services_by_name[service.name] = @services.find_index(service)
      @services_by_url[service.service_url] = @services.find_index(service)
    end
Add a service to the Registry

 @param service [OData::Service] service to add to the registry