Class: OvirtSDK4::CopyableService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#copy(opts = {}) ⇒ Object
Executes the
copy
method. -
#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.
6029 6030 6031 |
# File 'lib/ovirtsdk4/services.rb', line 6029 def copy(opts = {}) internal_action(:copy, nil, COPY, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
6040 6041 6042 6043 6044 6045 |
# File 'lib/ovirtsdk4/services.rb', line 6040 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |