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
10 11 12 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 10 def all(filters = {}) load service.container_all(filters) end |
#bootstrap(new_attributes = {}) ⇒ Object
18 19 20 21 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 18 def bootstrap(new_attributes = {}) server = create(new_attributes) server end |
#get(id) ⇒ Object
14 15 16 |
# File 'lib/fog/fogdocker/models/compute/servers.rb', line 14 def get(id) new service.container_get(id) end |