# File lib/fog/compute/requests/aws/release_address.rb, line 30 def release_address(public_ip) response = Excon::Response.new if (address = self.data[:addresses].delete(public_ip)) response.status = 200 response.body = { 'requestId' => Fog::AWS::Mock.request_id, 'return' => true } response else raise Fog::Compute::AWS::Error.new("AuthFailure => The address '#{public_ip}' does not belong to you.") end end