Sha256: 8f997537e407618c9cb8b5d2396bbe7048bbe7754e5131f79c4a8c395a5e36d5
Contents?: true
Size: 756 Bytes
Versions: 53
Compression:
Stored size: 756 Bytes
Contents
class Ey::Core::Client class Real def get_database_servers(params={}) query = Ey::Core.paging_parameters(params) url = params.delete("url") request( :params => params, :query => query, :path => "/database-servers", :url => url, ) end end class Mock def get_database_servers(params={}) extract_url_params!(params) extract_url_params!(params) headers, database_servers_page = search_and_page(params, :database_servers, search_keys: %w[provisioned_id provider database_service flavor location]) response( :body => {"database_servers" => database_servers_page}, :status => 200, :headers => headers ) end end end
Version data entries
53 entries across 53 versions & 3 rubygems