Sha256: 786160de4bfed095aab9501f88681b1d0b1fe1cf7b9986fc4de91acb673e4b7c
Contents?: true
Size: 693 Bytes
Versions: 40
Compression:
Stored size: 693 Bytes
Contents
module Fog module Compute class OpenStack class Real def delete_key_pair(key_name) request( :expects => 202, :method => 'DELETE', :path => "os-keypairs/#{key_name}" ) end end class Mock def delete_key_pair(key_name) response = Excon::Response.new response.status = 202 response.headers = { "Content-Type" => "text/html; charset=UTF-8", "Content-Length" => "0", "Date" => Date.new } response.body = {} response end end # mock end # openstack end # compute end # fog
Version data entries
40 entries across 40 versions & 5 rubygems