Class: Fog::Compute::StormOnDemand::Configs
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::StormOnDemand::Configs
- Defined in:
- lib/fog/compute/storm_on_demand/models/configs.rb
Instance Method Summary collapse
Instance Method Details
#all(options = {}) ⇒ Object
7 8 9 10 |
# File 'lib/fog/compute/storm_on_demand/models/configs.rb', line 7 def all( = {}) data = service.list_configs().body["items"] load(data) end |
#get(config_id) ⇒ Object
12 13 14 15 |
# File 'lib/fog/compute/storm_on_demand/models/configs.rb', line 12 def get(config_id) data = service.get_config_details(:id => config_id).body new(data) end |