Class: OvirtSDK4::CopyableService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#copy(opts = {}) ⇒ Object
Executes the
copymethod. -
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#copy(opts = {}) ⇒ Object
Executes the copy method.
6005 6006 6007 |
# File 'lib/ovirtsdk4/services.rb', line 6005 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
6016 6017 6018 6019 6020 6021 |
# File 'lib/ovirtsdk4/services.rb', line 6016 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |