Class: OvirtSDK4::DomainUserGroupsService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#list(opts = {}) ⇒ Array<Group>
Returns the list of groups that the user is a member of.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#list(opts = {}) ⇒ Array<Group>
Returns the list of groups that the user is a member of.
8395 8396 8397 |
# File 'lib/ovirtsdk4/services.rb', line 8395 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
8406 8407 8408 8409 8410 8411 |
# File 'lib/ovirtsdk4/services.rb', line 8406 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |