Class: OvirtSDK4::HostHookService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb more...
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Hook
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 = {}) ⇒ Hook
Returns the representation of the object managed by this service.
12295 12296 12297 |
# File 'lib/ovirtsdk4/services.rb', line 12295 def get(opts = {}) internal_get(GET, opts) end |
permalink #service(path) ⇒ Service
Locates the service corresponding to the given path.
12306 12307 12308 12309 12310 12311 |
# File 'lib/ovirtsdk4/services.rb', line 12306 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |