Class: Fog::Compute::GoGrid::Servers
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::GoGrid::Servers
- Defined in:
- lib/fog/go_grid/models/compute/servers.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 15 |
# File 'lib/fog/go_grid/models/compute/servers.rb', line 12 def all data = service.grid_server_list.body['list'] load(data) end |
#bootstrap(new_attributes = {}) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/fog/go_grid/models/compute/servers.rb', line 17 def bootstrap(new_attributes = {}) server = create(new_attributes) server.wait_for { ready? } server.setup server end |