Class: OvirtSDK4::SchedulingPolicyUnitService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ SchedulingPolicyUnit
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 = {}) ⇒ SchedulingPolicyUnit
Returns the representation of the object managed by this service.
20689 20690 20691 |
# File 'lib/ovirtsdk4/services.rb', line 20689 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
20714 20715 20716 |
# File 'lib/ovirtsdk4/services.rb', line 20714 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
20725 20726 20727 20728 20729 20730 |
# File 'lib/ovirtsdk4/services.rb', line 20725 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |