Sha256: f0a812b5bc3f87687cd893c8af39bf88ed938595c1fb39d030452f74c958e40a
Contents?: true
Size: 717 Bytes
Versions: 22
Compression:
Stored size: 717 Bytes
Contents
module Fog module Google class SQL ## # Lists instances under a given project in the alphabetical order of the instance name # # @see https://developers.google.com/cloud-sql/docs/admin-api/v1beta3/instances/list class Real def list_instances api_method = @sql.instances.list parameters = { 'project' => @project, } request(api_method, parameters) end end class Mock def list_instances body = { 'kind' => 'sql#instancesList', 'items' => self.data[:instances].values, } build_excon_response(body) end end end end end
Version data entries
22 entries across 20 versions & 5 rubygems