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