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