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.
14472 14473 14474 |
# File 'lib/ovirtsdk4/services.rb', line 14472 def move(opts = {}) internal_action(:move, nil, MOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
14483 14484 14485 14486 14487 14488 |
# File 'lib/ovirtsdk4/services.rb', line 14483 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |