Class: Fog::Ovirt::Compute::Templates
- Inherits:
-
Collection
- Object
- Collection
- Fog::Ovirt::Compute::Templates
- Defined in:
- lib/fog/ovirt/models/compute/templates.rb
Instance Method Summary collapse
Instance Method Details
#all(filters = {}) ⇒ Object
10 11 12 |
# File 'lib/fog/ovirt/models/compute/templates.rb', line 10 def all(filters = {}) load service.list_templates(filters) end |
#get(id) ⇒ Object
14 15 16 |
# File 'lib/fog/ovirt/models/compute/templates.rb', line 14 def get(id) new service.get_template(id) end |