Method: OvirtSDK4::UnmanagedNetworkService#service
- Defined in:
- lib/ovirtsdk4/services.rb
#service(path) ⇒ Service
Locates the service corresponding to the given path.
28887 28888 28889 28890 28891 28892 |
# File 'lib/ovirtsdk4/services.rb', line 28887 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |