Class: OvirtSDK4::DiskSnapshotService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ DiskSnapshot
Returns the representation of the object managed by this service.
-
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
-
#service(path) ⇒ Service
Locates the service corresponding to the given path.
Methods inherited from Service
Instance Method Details
#get(opts = {}) ⇒ DiskSnapshot
Returns the representation of the object managed by this service.
7606 7607 7608 |
# File 'lib/ovirtsdk4/services.rb', line 7606 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
7631 7632 7633 |
# File 'lib/ovirtsdk4/services.rb', line 7631 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
7642 7643 7644 7645 7646 7647 |
# File 'lib/ovirtsdk4/services.rb', line 7642 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |