Class: OvirtSDK4::ClusterExternalProvidersService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
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
#list(opts = {}) ⇒ Array<ExternalProvider>
Returns the list of external providers.
The order of the returned list of providers is not guaranteed.
5304 5305 5306 |
# File 'lib/ovirtsdk4/services.rb', line 5304 def list(opts = {}) internal_get(LIST, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
5315 5316 5317 5318 5319 5320 |
# File 'lib/ovirtsdk4/services.rb', line 5315 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |