Class: Fog::Compute::Oracle::Zones
- Inherits:
-
Oracle::Collection
- Object
- Fog::Collection
- Oracle::Collection
- Fog::Compute::Oracle::Zones
- Defined in:
- lib/fog/oracle/models/compute/zones.rb
Instance Attribute Summary
Attributes inherited from Oracle::Collection
Instance Method Summary collapse
Methods inherited from Oracle::Collection
#id_value, #load_response, #new_from_response
Instance Method Details
#all ⇒ Object
10 11 12 13 |
# File 'lib/fog/oracle/models/compute/zones.rb', line 10 def all() data = service.list_zones() load_response(data) end |
#get(id) ⇒ Object
15 16 17 18 |
# File 'lib/fog/oracle/models/compute/zones.rb', line 15 def get(id) data = service.get_zone(id_value(id)) new_from_response(data) end |