Class: Fog::OracleCloud::Database::Instances
- Inherits:
-
Collection
- Object
- Collection
- Fog::OracleCloud::Database::Instances
- Defined in:
- lib/fog/oraclecloud/models/database/instances.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 13 |
# File 'lib/fog/oraclecloud/models/database/instances.rb', line 10 def all data = service.list_instances().body['services'] load(data) end |
#get(id) ⇒ Object
15 16 17 |
# File 'lib/fog/oraclecloud/models/database/instances.rb', line 15 def get(id) new(service.get_instance(id).body) end |
#get_from_job(job_id) ⇒ Object
19 20 21 |
# File 'lib/fog/oraclecloud/models/database/instances.rb', line 19 def get_from_job(job_id) new(service.get_instance_from_job(job_id).body) end |