Class: Fog::OpenStack::Compute::Hosts
- Inherits:
-
Fog::OpenStack::Collection
- Object
- Collection
- Fog::OpenStack::Collection
- Fog::OpenStack::Compute::Hosts
- Defined in:
- lib/fog/openstack/compute/models/hosts.rb
Instance Attribute Summary
Attributes inherited from Fog::OpenStack::Collection
Instance Method Summary collapse
Methods inherited from Fog::OpenStack::Collection
#destroy, #find_by_id, #load_response, #summary
Instance Method Details
#all(options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/fog/openstack/compute/models/hosts.rb', line 10 def all( = {}) data = service.list_hosts() load_response(data, 'hosts') end |