Class: Fog::Compute::Fogdocker::Servers
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Fogdocker::Servers
- Defined in:
- lib/fog/fogdocker/models/compute/servers.rb
Instance Method Summary collapse
Instance Method Details
#all(filters = {}) ⇒ Object
12 13 14 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 12 def all(filters = {}) load service.container_all(filters) end |
#bootstrap(new_attributes = {}) ⇒ Object
20 21 22 23 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 20 def bootstrap(new_attributes = {}) server = create(new_attributes) server end |
#get(id) ⇒ Object
16 17 18 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 16 def get(id) new service.container_get(id) end |