lib/fog/oraclecloud/models/java/instances.rb in fog-oraclecloud-0.1.12 vs lib/fog/oraclecloud/models/java/instances.rb in fog-oraclecloud-0.1.13

- old
+ new

@@ -1,23 +1,23 @@ -require 'fog/core/collection' - -module Fog - module OracleCloud - class Java - class Instances < Fog::Collection - - model Fog::OracleCloud::Java::Instance - - def all - data = service.list_instances().body['services'] - load(data) - end - - def get(service_name) - new(service.get_instance(service_name).body) - end - - end - end - - end -end +require 'fog/core/collection' + +module Fog + module OracleCloud + class Java + class Instances < Fog::Collection + + model Fog::OracleCloud::Java::Instance + + def all + data = service.list_instances().body['services'] + load(data) + end + + def get(service_name) + new(service.get_instance(service_name).body) + end + + end + end + + end +end