Class: OvirtSDK4::ClusterExternalProvidersService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb more...
Instance Method Summary collapse
-
#list(opts = {}) ⇒ Array<ExternalProvider>
Returns the list of external providers.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
permalink #list(opts = {}) ⇒ Array<ExternalProvider>
Returns the list of external providers.
The order of the returned list of providers is not guaranteed.
5354 5355 5356 |
# File 'lib/ovirtsdk4/services.rb', line 5354 def list(opts = {}) internal_get(LIST, opts) end |
permalink #service(path) ⇒ Service
Locates the service corresponding to the given path.
5365 5366 5367 5368 5369 5370 |
# File 'lib/ovirtsdk4/services.rb', line 5365 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |