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