Class: Fog::Compute::GoGrid::Images
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::GoGrid::Images
- Defined in:
- lib/fog/go_grid/models/compute/images.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/fog/go_grid/models/compute/images.rb', line 12 def all data = service.grid_image_list.body['list'] load(data) if server self.replace(self.select {|image| image.server_id == server.id}) end end |