Class: Fog::Compute::DigitalOcean::Flavors
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::DigitalOcean::Flavors
- Defined in:
- lib/fog/compute/digitalocean/models/flavors.rb
Instance Method Summary collapse
-
#all(filters = {}) ⇒ Fog::Compute::DigitalOceanV2:Flavor
Retrieves flavours (aka. sizes).
Instance Method Details
#all(filters = {}) ⇒ Fog::Compute::DigitalOceanV2:Flavor
Retrieves flavours (aka. sizes)
14 15 16 17 |
# File 'lib/fog/compute/digitalocean/models/flavors.rb', line 14 def all(filters = {}) data = service.list_flavors(filters).body["sizes"] load(data) end |