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