Locates the service corresponding to the given path.
Parameters:
The path of the service.
Returns:
A reference to the service.
Raises:
1983 1984 1985 1986 1987 1988
# File 'lib/ovirtsdk4/services.rb', line 1983 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end