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