lib/fog/oraclecloud/models/database/instances.rb in fog-oraclecloud-0.1.12 vs lib/fog/oraclecloud/models/database/instances.rb in fog-oraclecloud-0.1.13
- old
+ new
@@ -1,25 +1,25 @@
-require 'fog/core/collection'
-
-module Fog
- module OracleCloud
- class Database
- class Instances < Fog::Collection
-
- model Fog::OracleCloud::Database::Instance
-
- def all
- data = service.list_instances().body['services']
- load(data)
- end
-
- def get(id)
- new(service.get_instance(id).body)
- end
-
- def get_from_job(job_id)
- new(service.get_instance_from_job(job_id).body)
- end
- end
- end
- end
-end
+require 'fog/core/collection'
+
+module Fog
+ module OracleCloud
+ class Database
+ class Instances < Fog::Collection
+
+ model Fog::OracleCloud::Database::Instance
+
+ def all
+ data = service.list_instances().body['services']
+ load(data)
+ end
+
+ def get(id)
+ new(service.get_instance(id).body)
+ end
+
+ def get_from_job(job_id)
+ new(service.get_instance_from_job(job_id).body)
+ end
+ end
+ end
+ end
+end