Class: OvirtSDK4::OperatingSystemService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ OperatingSystemInfo
Returns the representation of the object managed by this service.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ OperatingSystemInfo
Returns the representation of the object managed by this service.
18541 18542 18543 |
# File 'lib/ovirtsdk4/services.rb', line 18541 def get(opts = {}) internal_get(GET, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
18552 18553 18554 18555 18556 18557 |
# File 'lib/ovirtsdk4/services.rb', line 18552 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |