Class: OvirtSDK4::VmSessionService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb more...
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Session
Returns the representation of the object managed by this service.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
permalink #get(opts = {}) ⇒ Session
Returns the representation of the object managed by this service.
35263 35264 35265 |
# File 'lib/ovirtsdk4/services.rb', line 35263 def get(opts = {}) internal_get(GET, opts) end |
permalink #service(path) ⇒ Service
Locates the service corresponding to the given path.
35274 35275 35276 35277 35278 35279 |
# File 'lib/ovirtsdk4/services.rb', line 35274 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |