Class: OvirtSDK4::SnapshotNicService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Nic
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
#get(opts = {}) ⇒ Nic
Returns the representation of the object managed by this service.
20978 20979 20980 |
# File 'lib/ovirtsdk4/services.rb', line 20978 def get(opts = {}) internal_get(GET, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
20989 20990 20991 20992 20993 20994 |
# File 'lib/ovirtsdk4/services.rb', line 20989 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |