Class: OvirtSDK4::FilterService
- Defined in:
- lib/ovirtsdk4/services.rb,
lib/ovirtsdk4/services.rb
Instance Method Summary collapse
-
#get(opts = {}) ⇒ Filter
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 = {}) ⇒ Filter
Returns the representation of the object managed by this service.
10752 10753 10754 |
# File 'lib/ovirtsdk4/services.rb', line 10752 def get(opts = {}) internal_get(GET, opts) end |
#remove(opts = {}) ⇒ Object
Deletes the object managed by this service.
10777 10778 10779 |
# File 'lib/ovirtsdk4/services.rb', line 10777 def remove(opts = {}) internal_remove(REMOVE, opts) end |
#service(path) ⇒ Service
Locates the service corresponding to the given path.
10788 10789 10790 10791 10792 10793 |
# File 'lib/ovirtsdk4/services.rb', line 10788 def service(path) if path.nil? || path == '' return self end raise Error.new("The path \"#{path}\" doesn't correspond to any service") end |