Method: OvirtSDK4::OpenstackSubnetService#service
- Defined in:
- lib/ovirtsdk4/services.rb
#service(path) ⇒ Service
Locates the service corresponding to the given path.
17778 17779 17780 17781 17782 17783 |
# File 'lib/ovirtsdk4/services.rb', line 17778 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |