Sha256: ca67ff53bf68a2c327408b494750429d68aa281a462e4d0359a7fcde28aa46dd
Contents?: true
Size: 653 Bytes
Versions: 11
Compression:
Stored size: 653 Bytes
Contents
module Fog module OracleCloud class Database class Real def delete_instance(service_name) request( :method => 'DELETE', :expects => 202, :path => "/paas/service/dbcs/api/v1.1/instances/#{@identity_domain}/#{service_name}" ) end end class Mock def delete_instance(name) response = Excon::Response.new self.data[:instances][name]['status'] = 'Terminating' self.data[:deleted_at][name] = Time.now response.status = 204 response end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems