Class: Fog::Compute::Fifo::Datasets
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Fifo::Datasets
- Defined in:
- lib/fog/fifo/models/compute/datasets.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 |
# File 'lib/fog/fifo/models/compute/datasets.rb', line 12 def all service.list_datasets().body.map{|id| get(id)} end |
#get(id) ⇒ Object
16 17 18 19 |
# File 'lib/fog/fifo/models/compute/datasets.rb', line 16 def get(id) data = service.get_dataset(id).body new(data) end |