# File lib/fog/aws/requests/elasticache/delete_cache_parameter_group.rb, line 24 def delete_cache_parameter_group(name) response = Excon::Response.new if self.data[:parameter_groups].delete(name) response.status = 200 response.body = { "ResponseMetadata"=>{ "RequestId"=> Fog::AWS::Mock.request_id }, } response else raise Fog::AWS::Elasticache::NotFound.new("CacheParameterGroup not found: #{name}") end end