Class: Fog::Compute::Ecloud::OperatingSystems
- Inherits:
-
Ecloud::Collection
- Object
- Fog::Collection
- Ecloud::Collection
- Fog::Compute::Ecloud::OperatingSystems
- Defined in:
- lib/fog/ecloud/models/compute/operating_systems.rb
Instance Method Summary collapse
Methods inherited from Ecloud::Collection
Instance Method Details
#all ⇒ Object
11 12 13 |
# File 'lib/fog/ecloud/models/compute/operating_systems.rb', line 11 def all load(data) end |
#get(uri) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/fog/ecloud/models/compute/operating_systems.rb', line 15 def get(uri) if data = service.(uri) new(data.body) end rescue Fog::Errors::NotFound nil end |