Class: OvirtSDK4::TemplateGraphicsConsoleService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ GraphicsConsole
Gets graphics console configuration of the template.
-
#remove(opts = {}) ⇒ Object
Remove the graphics console from the template.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ GraphicsConsole
Gets graphics console configuration of the template.
27614 27615 27616 |
# File 'lib/ovirtsdk4/services.rb', line 27614 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Remove the graphics console from the template.
27639 27640 27641 |
# File 'lib/ovirtsdk4/services.rb', line 27639 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
27650 27651 27652 27653 27654 27655 |
# File 'lib/ovirtsdk4/services.rb', line 27650 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |