Class: OvirtSDK4::AreaService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#service(path) ⇒ Service
Locates the service corresponding to the given path.
2350 2351 2352 2353 2354 2355 |
# File 'lib/ovirtsdk4/services.rb', line 2350 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |