Class: OvirtSDK4::MoveableService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#move(opts = {}) ⇒ Object
Executes the
movemethod. -
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#move(opts = {}) ⇒ Object
Executes the move method.
15626 15627 15628 |
# File 'lib/ovirtsdk4/services.rb', line 15626 def move(opts = {}) internal_action(:move, nil, MOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
15637 15638 15639 15640 15641 15642 |
# File 'lib/ovirtsdk4/services.rb', line 15637 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |