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.
20413 20414 20415 |
# File 'lib/ovirtsdk4/services.rb', line 20413 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
20438 20439 20440 |
# File 'lib/ovirtsdk4/services.rb', line 20438 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
20449 20450 20451 20452 20453 20454 |
# File 'lib/ovirtsdk4/services.rb', line 20449 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |