class OvirtSDK4::SystemOptionsService
Public Instance Methods
option_service(id)
click to toggle source
Returns a reference to the service that provides values of specific configuration option.
@param id [String] The identifier of the `option`.
@return [SystemOptionService] A reference to the `option` service.
# File lib/ovirtsdk4/services.rb, line 26326 def option_service(id) SystemOptionService.new(self, id) end
service(path)
click to toggle source
Locates the service corresponding to the given path.
@param path [String] The path of the service.
@return [Service] A reference to the service.
# File lib/ovirtsdk4/services.rb, line 26337 def service(path) if path.nil? || path == '' return self end index = path.index('/') if index.nil? return option_service(path) end return option_service(path[0..(index - 1)]).service(path[(index + 1)..-1]) end