Sha256: e017e58399074dabf069bc19247cf291613701962419584fbbfa00ae72767649
Contents?: true
Size: 648 Bytes
Versions: 10
Compression:
Stored size: 648 Bytes
Contents
module Fog module OracleCloud class Database class Real def list_snapshots(db_name) response = request( :expects => 200, :method => 'GET', :path => "/paas/api/v1.1/instancemgmt/#{@identity_domain}/services/dbaas/instances/#{db_name}/snapshots" ) response end end class Mock def list_snapshots(db_name) response = Excon::Response.new snapshots = self.data[:snapshots][db_name].values response.body = snapshots response end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems